public class RelativeFederatingContext extends AbstractFederatingContext
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 and Description |
|---|
RelativeFederatingContext(FastHashtable<String,Object> environment,
AbstractContext rootContext,
CompositeName prefix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindNative(Name name,
Object obj) |
void |
close() |
protected Context |
createSubcontextNative(Name name) |
protected void |
destroySubcontextNative(Name name) |
String |
getNameInNamespace() |
NameParser |
getNativeNameParser()
Get the native name parser for this context.
|
protected CloseableNamingEnumeration<Binding> |
listBindingsNative(Name name) |
protected CloseableNamingEnumeration<NameClassPair> |
listNative(Name name) |
protected Object |
lookupLinkNative(Name name) |
protected Object |
lookupNative(Name name)
Look up a compound name within this naming system.
|
protected void |
rebindNative(Name name,
Object obj) |
protected void |
renameNative(Name oldName,
Name newName) |
protected void |
unbindNative(Name name) |
bind, bind, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getNameParser, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, rename, rename, unbind, unbindaddToEnvironment, decomposeName, getEnvironment, nameNotFound, notSupported, readOnlyContext, removeFromEnvironmentpublic RelativeFederatingContext(FastHashtable<String,Object> environment, AbstractContext rootContext, CompositeName prefix)
protected Object lookupNative(Name name) throws NamingException
AbstractContextCompositeName.lookupNative in class AbstractContextname - the (compound) name (not null)NamingException - if an error occursprotected void bindNative(Name name, Object obj) throws NamingException
bindNative in class AbstractContextNamingExceptionprotected void rebindNative(Name name, Object obj) throws NamingException
rebindNative in class AbstractContextNamingExceptionprotected void unbindNative(Name name) throws NamingException
unbindNative in class AbstractContextNamingExceptionprotected void renameNative(Name oldName, Name newName) throws NamingException
renameNative in class AbstractContextNamingExceptionprotected CloseableNamingEnumeration<NameClassPair> listNative(Name name) throws NamingException
listNative in class AbstractContextNamingExceptionprotected CloseableNamingEnumeration<Binding> listBindingsNative(Name name) throws NamingException
listBindingsNative in class AbstractContextNamingExceptionprotected void destroySubcontextNative(Name name) throws NamingException
destroySubcontextNative in class AbstractContextNamingExceptionprotected Context createSubcontextNative(Name name) throws NamingException
createSubcontextNative in class AbstractContextNamingExceptionprotected Object lookupLinkNative(Name name) throws NamingException
lookupLinkNative in class AbstractContextNamingExceptionpublic void close()
public String getNameInNamespace() throws NamingException
NamingExceptionpublic NameParser getNativeNameParser()
AbstractContextSimpleName instances but may be overridden as desired.getNativeNameParser in class AbstractContextCopyright © 2018 JBoss by Red Hat. All rights reserved.