1 package org.mortbay.jetty.plus.naming;
2
3 import javax.naming.NamingException;
4
5
6
7 public class Link extends NamingEntry
8 {
9
10 public Link(String jndiName, Object object) throws NamingException
11 {
12 //jndiName is the name according to the web.xml
13 //objectToBind is the name in the environment
14 super(jndiName, object);
15 }
16
17
18
19 public void bindToENC(String localName) throws NamingException
20 {
21 throw new UnsupportedOperationException("Method not supported for Link objects");
22 }
23
24
25
26 }