Package org.wildfly.httpclient.naming
Class HttpRootContext
- java.lang.Object
-
- org.wildfly.naming.client.AbstractContext
-
- org.wildfly.httpclient.naming.HttpRootContext
-
- All Implemented Interfaces:
AutoCloseable,Context
public class HttpRootContext extends org.wildfly.naming.client.AbstractContextRoot naming context.- Author:
- Stuart Douglas, Flavia Rainone
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpRootContext(org.wildfly.naming.client.util.FastHashtable<String,Object> environment, HttpNamingProvider httpNamingProvider, String scheme)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(String name, Object obj)protected voidbindNative(Name name, Object obj)voidclose()protected ContextcreateSubcontextNative(Name name)protected voiddestroySubcontextNative(Name name)StringgetNameInNamespace()protected org.wildfly.naming.client.CloseableNamingEnumeration<Binding>listBindingsNative(Name name)protected org.wildfly.naming.client.CloseableNamingEnumeration<NameClassPair>listNative(Name name)protected ObjectlookupLinkNative(Name name)protected ObjectlookupNative(Name name)protected voidrebindNative(Name name, Object obj)protected voidrenameNative(Name oldName, Name newName)protected voidunbindNative(Name name)-
Methods inherited from class org.wildfly.naming.client.AbstractContext
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
-
-
-
-
Constructor Detail
-
HttpRootContext
protected HttpRootContext(org.wildfly.naming.client.util.FastHashtable<String,Object> environment, HttpNamingProvider httpNamingProvider, String scheme)
-
-
Method Detail
-
bind
public void bind(String name, Object obj) throws NamingException
- Specified by:
bindin interfaceContext- Overrides:
bindin classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
lookupNative
protected Object lookupNative(Name name) throws NamingException
- Specified by:
lookupNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
lookupLinkNative
protected Object lookupLinkNative(Name name) throws NamingException
- Specified by:
lookupLinkNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
listNative
protected org.wildfly.naming.client.CloseableNamingEnumeration<NameClassPair> listNative(Name name) throws NamingException
- Specified by:
listNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
listBindingsNative
protected org.wildfly.naming.client.CloseableNamingEnumeration<Binding> listBindingsNative(Name name) throws NamingException
- Specified by:
listBindingsNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
bindNative
protected void bindNative(Name name, Object obj) throws NamingException
- Overrides:
bindNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
rebindNative
protected void rebindNative(Name name, Object obj) throws NamingException
- Overrides:
rebindNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
unbindNative
protected void unbindNative(Name name) throws NamingException
- Overrides:
unbindNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
renameNative
protected void renameNative(Name oldName, Name newName) throws NamingException
- Overrides:
renameNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
destroySubcontextNative
protected void destroySubcontextNative(Name name) throws NamingException
- Overrides:
destroySubcontextNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
createSubcontextNative
protected Context createSubcontextNative(Name name) throws NamingException
- Overrides:
createSubcontextNativein classorg.wildfly.naming.client.AbstractContext- Throws:
NamingException
-
close
public void close() throws NamingException- Throws:
NamingException
-
getNameInNamespace
public String getNameInNamespace() throws NamingException
- Throws:
NamingException
-
-