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 void
bindToENC(java.lang.String localName)
Add ajava:comp/env
binding for the object represented by this NamingEntry, but bind it as the name suppliedjava.lang.String
getLink()
protected java.lang.String
toStringMetaData()
-
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.NamingException
Description copied from class:NamingEntry
Add ajava:comp/env
binding for the object represented by this NamingEntry, but bind it as the name supplied- Overrides:
bindToENC
in 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:
toStringMetaData
in classNamingEntry
-
-