com.sapportals.portal.prt.jndisupport.util
Class MemoryHierarchicalContext
java.lang.Object
com.sapportals.portal.prt.jndisupport.util.AbstractHierarchicalContext
com.sapportals.portal.prt.jndisupport.util.MemoryHierarchicalContext
- All Implemented Interfaces:
- Context
- Direct Known Subclasses:
- JNDISupport
public class MemoryHierarchicalContext
- extends AbstractHierarchicalContext
Base class that implements a HierarchicalContext
| 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 |
| Methods inherited from class com.sapportals.portal.prt.jndisupport.util.AbstractHierarchicalContext |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getContextName, getEnvironment, getMyComponents, getNameInNamespace, getNameParser, getNameParser, getNameParser, getParentContext, getSeparator, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, toString, unbind, unbind |
MemoryHierarchicalContext
public MemoryHierarchicalContext(Hashtable inEnv)
MemoryHierarchicalContext
public MemoryHierarchicalContext(Hashtable inEnv,
boolean rootContext)
MemoryHierarchicalContext
protected MemoryHierarchicalContext(AbstractHierarchicalContext parent,
String name,
Hashtable inEnv,
boolean init)
prepare
public void prepare()
- Overrides:
prepare in class AbstractHierarchicalContext
createChildContext
public AbstractHierarchicalContext createChildContext(String name)
throws NamingException
- Creates the child context
- Specified by:
createChildContext in class AbstractHierarchicalContext
- Throws:
NamingException
addChildContext
protected void addChildContext(String childName,
Context childContext)
throws NamingException
- Throws:
NamingException
getChildObject
protected Object getChildObject(MemoryHierarchicalContext context,
String childName)
getChildObject
protected Object getChildObject(String childName)
getChildNames
protected String[] getChildNames(MemoryHierarchicalContext context)
getChildNames
protected String[] getChildNames()
cleanHierarchy
protected void cleanHierarchy()
lookupChild
protected Object lookupChild(String childName)
throws NamingException
- Specified by:
lookupChild in class AbstractHierarchicalContext
- Throws:
NamingException
bindChild
protected void bindChild(String childName,
Object obj)
throws NamingException
- Specified by:
bindChild in class AbstractHierarchicalContext
- Throws:
NamingException
listNamingChildren
protected NamingEnumeration listNamingChildren()
- Specified by:
listNamingChildren in class AbstractHierarchicalContext
listBindingsChildren
protected NamingEnumeration listBindingsChildren()
- Specified by:
listBindingsChildren in class AbstractHierarchicalContext
removeChild
protected void removeChild(String childName)
throws NamingException
- Specified by:
removeChild in class AbstractHierarchicalContext
- Throws:
NamingException
rebindChild
protected void rebindChild(String childName,
Object obj)
throws NamingException
- Specified by:
rebindChild in class AbstractHierarchicalContext
- Throws:
NamingException
renameChild
protected void renameChild(String oldName,
String newName)
throws NamingException
- Specified by:
renameChild in class AbstractHierarchicalContext
- Throws:
NamingException
destroym_bindings
protected void destroym_bindings()
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/basis/jndisupportdeprecated
|
api
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
Copyright 2011 SAP AG Complete Copyright Notice