|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.plus.jndi.NamingEntry
public abstract class NamingEntry
NamingEntry Base class for all jndi related entities. Instances of subclasses of this class are declared in jetty.xml or in a webapp's WEB-INF/jetty-env.xml file. NOTE: that all NamingEntries will be bound in a single namespace. The "global" level is just in the top level context. The "local" level is a context specific to a webapp.
| 字段摘要 | |
|---|---|
static String |
__contextName
|
protected String |
_jndiName
|
protected String |
_namingEntryNameString
|
protected String |
_objectNameString
|
protected Object |
_scope
|
| 构造方法摘要 | |
|---|---|
protected |
NamingEntry(Object scope,
String jndiName)
|
protected |
NamingEntry(String jndiName)
Create a NamingEntry. |
| 方法摘要 | |
|---|---|
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 |
getJndiName()
Get the unique name of the object relative to the scope |
String |
getJndiNameInScope()
Get the name of the object, fully qualified with the scope |
void |
release()
Unbind this NamingEntry entirely |
protected void |
save(Object object)
Save the NamingEntry for later use. |
String |
toString()
|
void |
unbindENC()
Unbind this NamingEntry from a java:comp/env |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String __contextName
protected final Object _scope
protected final String _jndiName
protected String _namingEntryNameString
protected String _objectNameString
| 构造方法详细信息 |
|---|
protected NamingEntry(Object scope,
String jndiName)
throws NamingException
NamingException
protected NamingEntry(String jndiName)
throws NamingException
jndiName - the name of the object which will eventually be in java:comp/env
NamingException| 方法详细信息 |
|---|
public String toString()
Object 中的 toString
public void bindToENC(String localName)
throws NamingException
NamingExceptionpublic void unbindENC()
public void release()
public String getJndiName()
public String getJndiNameInScope()
protected void save(Object object)
throws NamingException
NamingException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||