org.openmdx.kernel.naming.spi
Class AbstractContext
java.lang.Object
org.openmdx.kernel.naming.spi.AbstractContext
- All Implemented Interfaces:
- Context
- Direct Known Subclasses:
- NameBasedContext, StringBasedContext
public abstract class AbstractContext
- extends Object
- implements Context
Abstract Context
| 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 |
| Methods inherited from interface javax.naming.Context |
bind, bind, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, rename, rename, unbind, unbind |
nameParser
protected static final NameParser nameParser
- The Context's name parser
environment
protected Hashtable environment
AbstractContext
protected AbstractContext()
- Constructor
close
public void close()
throws NamingException
- Specified by:
close in interface Context
- Throws:
NamingException
addToEnvironment
public Object addToEnvironment(String propName,
Object propVal)
throws NamingException
- Specified by:
addToEnvironment in interface Context
- Throws:
NamingException
getEnvironment
public Hashtable getEnvironment()
throws NamingException
- Specified by:
getEnvironment in interface Context
- Throws:
NamingException
removeFromEnvironment
public Object removeFromEnvironment(String propName)
throws NamingException
- Specified by:
removeFromEnvironment in interface Context
- Throws:
NamingException
toString
public String toString()
- Overrides:
toString in class Object
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.