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
Root 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
ConstructorsModifierConstructorDescriptionprotectedHttpRootContext(FastHashtable<String, Object> environment, HttpNamingProvider httpNamingProvider, String scheme) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidbindNative(Name name, Object obj) voidclose()protected ContextcreateSubcontextNative(Name name) protected voiddestroySubcontextNative(Name name) protected CloseableNamingEnumeration<Binding>listBindingsNative(Name name) protected CloseableNamingEnumeration<NameClassPair>listNative(Name name) protected ObjectlookupLinkNative(Name name) protected ObjectlookupNative(Name name) Look up a compound name within this naming system.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 Details
-
HttpRootContext
protected HttpRootContext(FastHashtable<String, Object> environment, HttpNamingProvider httpNamingProvider, String scheme)
-
-
Method Details
-
bind
- Specified by:
bindin interfaceContext- Overrides:
bindin classAbstractContext- Throws:
NamingException
-
lookupNative
Description copied from class:AbstractContextLook up a compound name within this naming system. The given name is guaranteed not to be aCompositeName.- Specified by:
lookupNativein classAbstractContext- Parameters:
name- the (compound) name (notnull)- Returns:
- the binding value
- Throws:
NamingException- if an error occurs
-
lookupLinkNative
- Specified by:
lookupLinkNativein classAbstractContext- Throws:
NamingException
-
listNative
- Specified by:
listNativein classAbstractContext- Throws:
NamingException
-
listBindingsNative
- Specified by:
listBindingsNativein classAbstractContext- Throws:
NamingException
-
bindNative
- Overrides:
bindNativein classAbstractContext- Throws:
NamingException
-
rebindNative
- Overrides:
rebindNativein classAbstractContext- Throws:
NamingException
-
unbindNative
- Overrides:
unbindNativein classAbstractContext- Throws:
NamingException
-
renameNative
- Overrides:
renameNativein classAbstractContext- Throws:
NamingException
-
destroySubcontextNative
- Overrides:
destroySubcontextNativein classAbstractContext- Throws:
NamingException
-
createSubcontextNative
- Overrides:
createSubcontextNativein classAbstractContext- Throws:
NamingException
-
close
- Throws:
NamingException
-
getNameInNamespace
- Throws:
NamingException
-