|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.naming.ContextImpl
com.caucho.naming.mbean.MBeanContextImpl
public class MBeanContextImpl
MBean implementation of the JNDI Context
.
The actual storage of the persistent data is in
the AbstractModel
.
Field Summary | |
---|---|
protected static java.util.logging.Logger |
dbg
|
protected static L10N |
L
|
Fields inherited from class com.caucho.naming.ContextImpl |
---|
_env, _model, _name, log |
Fields inherited from interface javax.naming.Context |
---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Constructor Summary | |
---|---|
MBeanContextImpl(AbstractModel model,
java.util.Hashtable env)
Creates a ContextImpl . |
|
MBeanContextImpl(java.lang.String name,
AbstractModel model,
java.util.Hashtable env)
Creates a ContextImpl . |
Method Summary | |
---|---|
protected ContextImpl |
create(java.lang.String name,
AbstractModel model,
java.util.Hashtable env)
Creates a new instance of the ContextImpl . |
protected java.lang.String |
parseFirst(java.lang.String name)
Parses the head of the name. |
protected java.lang.String |
parseRest(java.lang.String name)
Parses the tail of the name. |
java.lang.String |
toString()
Returns a string value. |
Methods inherited from class com.caucho.naming.ContextImpl |
---|
addToEnvironment, bind, bind, close, composeName, composeName, create, createSingleSubcontext, createSubcontext, createSubcontext, destroySingleSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getFullPath, getFullPath, getModel, getName, getNameInNamespace, getNameParser, getNameParser, getSeparator, getSeparatorString, list, list, listBindings, listBindings, listSingle, lookup, lookup, lookupImpl, lookupLink, lookupLink, lookupSingle, rebind, rebind, rebindSingle, removeFromEnvironment, rename, rename, unbind, unbind, unbindSingle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger dbg
protected static final L10N L
Constructor Detail |
---|
public MBeanContextImpl(AbstractModel model, java.util.Hashtable env)
ContextImpl
.
model
- The underlying storage node.env
- The client's JNDI environment.public MBeanContextImpl(java.lang.String name, AbstractModel model, java.util.Hashtable env)
ContextImpl
.
name
- JNDI name, used for error messages, etc.model
- The underlying storage node.env
- The client's JNDI environment.Method Detail |
---|
protected ContextImpl create(java.lang.String name, AbstractModel model, java.util.Hashtable env)
ContextImpl
. Subclasses will
override this method to return a new instance of the subclass.
create
in class ContextImpl
name
- the JNDI name for the new contextmodel
- the underlying storage nodeenv
- the client's JNDI environment.
protected java.lang.String parseFirst(java.lang.String name) throws javax.naming.NamingException
parseFirst
in class ContextImpl
javax.naming.NamingException
protected java.lang.String parseRest(java.lang.String name) throws javax.naming.NamingException
parseRest
in class ContextImpl
javax.naming.NamingException
public java.lang.String toString()
toString
in class ContextImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |