com.sapportals.portal.prt.jndisupport
Class JNDISupport
java.lang.Object
com.sapportals.portal.prt.jndisupport.util.AbstractHierarchicalContext
com.sapportals.portal.prt.jndisupport.util.MemoryHierarchicalContext
com.sapportals.portal.prt.jndisupport.JNDISupport
- All Implemented Interfaces:
- Context
public class JNDISupport
- extends MemoryHierarchicalContext
| 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.MemoryHierarchicalContext |
addChildContext, bindChild, cleanHierarchy, createChildContext, destroym_bindings, getChildNames, getChildNames, getChildObject, getChildObject, listBindingsChildren, listNamingChildren, lookupChild, prepare, rebindChild, removeChild, renameChild |
| 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, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, toString, unbind, unbind |
JNDI_FACTORIES
public static final String JNDI_FACTORIES
- See Also:
- Constant Field Values
JNDI_OBJECT_FACTORIES
public static final String JNDI_OBJECT_FACTORIES
- See Also:
- Constant Field Values
JNDI_STATE_FACTORIES
public static final String JNDI_STATE_FACTORIES
- See Also:
- Constant Field Values
JNDI_CONTEXT_FACTORIES
public static final String JNDI_CONTEXT_FACTORIES
- See Also:
- Constant Field Values
JNDI_URL_CONTEXT_FACTORIES
public static final String JNDI_URL_CONTEXT_FACTORIES
- See Also:
- Constant Field Values
init
public void init()
- creates all the folders
- Overrides:
init in class AbstractHierarchicalContext
getInstance
public static JNDISupport getInstance()
- returns a context handling JNDI factories
destroyInstance
public static void destroyInstance()
getInitialContext
public Context getInitialContext()
throws NamingException
- Gets an InitialContext taking care of class loading separation
- Throws:
NamingException
getInitialContext
public Context getInitialContext(Hashtable env)
throws NamingException
- Gets an InitialContext taking care of class loading separation
- Throws:
NamingException
getInitialDirContext
public DirContext getInitialDirContext(Hashtable env)
throws NamingException
- Gets an InitialContext taking care of class loading separation
- Throws:
NamingException
getContextFactory
public InitialContextFactory getContextFactory(String className)
getObjectFactory
public ObjectFactory getObjectFactory(String className)
getStateFactory
public StateFactory getStateFactory(String className)
getURLContextFactory
public ObjectFactory getURLContextFactory(String scheme)
getShortcut
protected MemoryHierarchicalContext getShortcut(String shortcutName)
getObject
public Object getObject(String path,
String name)
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[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/lib/api
|
api
|
EP-PIN
|
Copyright 2011 SAP AG Complete Copyright Notice