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, unbind
protected HttpRootContext(FastHashtable<String,Object> environment, HttpNamingProvider httpNamingProvider, String scheme)
public void bind(String name, Object obj) throws NamingException
bind
in interface Context
bind
in class AbstractContext
NamingException
protected Object lookupNative(Name name) throws NamingException
AbstractContext
CompositeName
.lookupNative
in class AbstractContext
name
- the (compound) name (not null
)NamingException
- if an error occursprotected Object lookupLinkNative(Name name) throws NamingException
lookupLinkNative
in class AbstractContext
NamingException
protected CloseableNamingEnumeration<NameClassPair> listNative(Name name) throws NamingException
listNative
in class AbstractContext
NamingException
protected CloseableNamingEnumeration<Binding> listBindingsNative(Name name) throws NamingException
listBindingsNative
in class AbstractContext
NamingException
protected void bindNative(Name name, Object obj) throws NamingException
bindNative
in class AbstractContext
NamingException
protected void rebindNative(Name name, Object obj) throws NamingException
rebindNative
in class AbstractContext
NamingException
protected void unbindNative(Name name) throws NamingException
unbindNative
in class AbstractContext
NamingException
protected void renameNative(Name oldName, Name newName) throws NamingException
renameNative
in class AbstractContext
NamingException
protected void destroySubcontextNative(Name name) throws NamingException
destroySubcontextNative
in class AbstractContext
NamingException
protected Context createSubcontextNative(Name name) throws NamingException
createSubcontextNative
in class AbstractContext
NamingException
public void close() throws NamingException
NamingException
public String getNameInNamespace() throws NamingException
NamingException
Copyright © 2019 JBoss by Red Hat. All rights reserved.