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, unbindENC
public Link(Object scope, String jndiName, String link) throws NamingException
NamingException
public Link(String jndiName, String link) throws NamingException
NamingException
public void bindToENC(String localName) throws NamingException
NamingEntry
java:comp/env
binding for the object represented by this NamingEntry,
but bind it as the name suppliedbindToENC
in class NamingEntry
localName
- the local name to bindNamingException
- if unable to bindpublic String getLink()
Copyright © 1995-2015 Webtide. All Rights Reserved.