org.openmdx.kernel.naming.spi
Class StringBasedContext
java.lang.Object
org.openmdx.kernel.naming.spi.AbstractContext
org.openmdx.kernel.naming.spi.StringBasedContext
- All Implemented Interfaces:
- Context
- Direct Known Subclasses:
- RelocatableContext
public abstract class StringBasedContext
- extends AbstractContext
String Based 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, composeName, createSubcontext, destroySubcontext, getNameInNamespace, getNameParser, list, listBindings, lookup, lookupLink, rebind, rename, unbind |
StringBasedContext
protected StringBasedContext()
- Constructor
lookup
public Object lookup(Name name)
throws NamingException
- Throws:
NamingException
bind
public void bind(Name name,
Object obj)
throws NamingException
- Throws:
NamingException
rebind
public void rebind(Name name,
Object obj)
throws NamingException
- Throws:
NamingException
unbind
public void unbind(Name name)
throws NamingException
- Throws:
NamingException
rename
public void rename(Name oldName,
Name newName)
throws NamingException
- Throws:
NamingException
list
public NamingEnumeration list(Name name)
throws NamingException
- Throws:
NamingException
listBindings
public NamingEnumeration listBindings(Name name)
throws NamingException
- Throws:
NamingException
destroySubcontext
public void destroySubcontext(Name name)
throws NamingException
- Throws:
NamingException
createSubcontext
public Context createSubcontext(Name name)
throws NamingException
- Throws:
NamingException
lookupLink
public Object lookupLink(Name name)
throws NamingException
- Throws:
NamingException
getNameParser
public NameParser getNameParser(Name name)
throws NamingException
- Throws:
NamingException
composeName
public Name composeName(Name name,
Name prefix)
throws NamingException
- Throws:
NamingException
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.