public class Link extends NamingEntry
__contextName, jndiName, namingEntryNameString, objectNameString, objectToBind| Constructor and Description |
|---|
Link(Object scope,
String jndiName,
Object object) |
Link(String jndiName,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindToENC(String localName)
Add a java:comp/env binding for the object represented by this NamingEntry,
but bind it as the name supplied
|
getJndiName, getJndiNameInScope, getObjectToBind, release, save, unbindENCpublic Link(Object scope, String jndiName, Object object) throws NamingException
NamingExceptionpublic Link(String jndiName, Object object) throws NamingException
NamingExceptionpublic void bindToENC(String localName) throws NamingException
NamingEntrybindToENC in class NamingEntryNamingExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.