public class HttpRootContext extends AbstractContext
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| Modifier | Constructor and Description |
|---|---|
protected |
HttpRootContext(FastHashtable<String,Object> environment,
HttpNamingProvider httpNamingProvider,
String scheme) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(String name,
Object obj) |
protected void |
bindNative(Name name,
Object obj) |
void |
close() |
protected Context |
createSubcontextNative(Name name) |
protected void |
destroySubcontextNative(Name name) |
String |
getNameInNamespace() |
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) |
addToEnvironment, bind, composeName, composeName, createSubcontext, createSubcontext, decomposeName, destroySubcontext, destroySubcontext, getEnvironment, getNameParser, getNameParser, getNativeNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, nameNotFound, notSupported, readOnlyContext, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindprotected HttpRootContext(FastHashtable<String,Object> environment, HttpNamingProvider httpNamingProvider, String scheme)
public void bind(String name, Object obj) throws NamingException
bind in interface Contextbind in class AbstractContextNamingExceptionprotected Object lookupNative(Name name) throws NamingException
AbstractContextCompositeName.lookupNative in class AbstractContextname - the (compound) name (not null)NamingException - if an error occursprotected Object lookupLinkNative(Name name) throws NamingException
lookupLinkNative 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 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 void destroySubcontextNative(Name name) throws NamingException
destroySubcontextNative in class AbstractContextNamingExceptionprotected Context createSubcontextNative(Name name) throws NamingException
createSubcontextNative in class AbstractContextNamingExceptionpublic void close()
throws NamingException
NamingExceptionpublic String getNameInNamespace() throws NamingException
NamingExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.