Package org.infinispan.server.context
Class ServerInitialContext
java.lang.Object
org.infinispan.server.context.ServerInitialContext
- All Implemented Interfaces:
Context
A very trivial implementation of
Context which only supports binding and lookup in a flat namespace- Since:
- 11.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
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 -
Method Summary
Modifier and TypeMethodDescriptionaddToEnvironment(String propName, Object propVal) voidvoidvoidclose()composeName(String name, String prefix) composeName(Name name, Name prefix) createSubcontext(String name) createSubcontext(Name name) voiddestroySubcontext(String name) voiddestroySubcontext(Name name) Hashtable<?,?> getNameParser(String name) getNameParser(Name name) listBindings(String name) listBindings(Name name) lookupLink(String name) lookupLink(Name name) voidvoidremoveFromEnvironment(String propName) voidvoidvoidvoid
-
Constructor Details
-
ServerInitialContext
-
-
Method Details
-
lookup
-
lookup
-
bind
- Specified by:
bindin interfaceContext- Throws:
NamingException
-
bind
- Specified by:
bindin interfaceContext- Throws:
NamingException
-
rebind
-
rebind
-
unbind
-
unbind
-
rename
-
rename
-
list
-
list
-
listBindings
- Specified by:
listBindingsin interfaceContext
-
listBindings
- Specified by:
listBindingsin interfaceContext
-
destroySubcontext
- Specified by:
destroySubcontextin interfaceContext
-
destroySubcontext
- Specified by:
destroySubcontextin interfaceContext
-
createSubcontext
- Specified by:
createSubcontextin interfaceContext
-
createSubcontext
- Specified by:
createSubcontextin interfaceContext
-
lookupLink
- Specified by:
lookupLinkin interfaceContext
-
lookupLink
- Specified by:
lookupLinkin interfaceContext
-
getNameParser
- Specified by:
getNameParserin interfaceContext
-
getNameParser
- Specified by:
getNameParserin interfaceContext
-
composeName
- Specified by:
composeNamein interfaceContext
-
composeName
- Specified by:
composeNamein interfaceContext
-
addToEnvironment
- Specified by:
addToEnvironmentin interfaceContext
-
removeFromEnvironment
- Specified by:
removeFromEnvironmentin interfaceContext
-
getEnvironment
- Specified by:
getEnvironmentin interfaceContext
-
close
public void close() -
getNameInNamespace
- Specified by:
getNameInNamespacein interfaceContext
-