Package org.eclipse.jetty.plus.jndi
Class Link
- java.lang.Object
-
- org.eclipse.jetty.plus.jndi.NamingEntry
-
- org.eclipse.jetty.plus.jndi.Link
-
public class Link extends NamingEntry
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.plus.jndi.NamingEntry
__contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindToENC(java.lang.String localName)Add ajava:comp/envbinding for the object represented by this NamingEntry, but bind it as the name suppliedjava.lang.StringgetLink()protected java.lang.StringtoStringMetaData()-
Methods inherited from class org.eclipse.jetty.plus.jndi.NamingEntry
getJndiName, getJndiNameInScope, release, save, toString, unbindENC
-
-
-
-
Constructor Detail
-
Link
public Link(java.lang.Object scope, java.lang.String jndiName, java.lang.String link) throws javax.naming.NamingException- Throws:
javax.naming.NamingException
-
Link
public Link(java.lang.String jndiName, java.lang.String link) throws javax.naming.NamingException- Throws:
javax.naming.NamingException
-
-
Method Detail
-
bindToENC
public void bindToENC(java.lang.String localName) throws javax.naming.NamingExceptionDescription copied from class:NamingEntryAdd ajava:comp/envbinding for the object represented by this NamingEntry, but bind it as the name supplied- Overrides:
bindToENCin classNamingEntry- Parameters:
localName- the local name to bind- Throws:
javax.naming.NamingException- if unable to bind
-
getLink
public java.lang.String getLink()
-
toStringMetaData
protected java.lang.String toStringMetaData()
- Overrides:
toStringMetaDatain classNamingEntry
-
-