public class Link extends NamingEntry
__contextName, _jndiName, _namingEntryNameString, _objectNameString, _scope| Constructor and Description |
|---|
Link(Object scope,
String jndiName,
String link) |
Link(String jndiName,
String link) |
| 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 |
String |
getLink() |
getJndiName, getJndiNameInScope, release, save, toString, unbindENCpublic Link(Object scope, String jndiName, String link) throws NamingException
NamingExceptionpublic Link(String jndiName, String link) throws NamingException
NamingExceptionpublic void bindToENC(String localName) throws NamingException
NamingEntryjava:comp/env binding for the object represented by this NamingEntry,
but bind it as the name suppliedbindToENC in class NamingEntrylocalName - the local name to bindNamingException - if unable to bindpublic String getLink()
Copyright © 1995-2016 Webtide. All Rights Reserved.