com.sapportals.portal.prt.jndisupport

Class NamingManager

java.lang.Object
  extended by com.sapportals.portal.prt.jndisupport.NamingManager
Direct Known Subclasses:
DirectoryManager

public class NamingManager
extends Object

JNDI SUPPORT AT RUNTIME This class wraps the standard JNDI NamingManager to solve class loading issues. It basically looks up for JNDI factories in the portal registry.


Method Summary
protected static StateFactory findStateFactory(String className)
           
static Context getContinuationContext(CannotProceedException cpe)
           
static Context getInitialContext(Hashtable env)
           
static Object getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable environment)
           
static Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment)
           
static Context getURLContext(String scheme, Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContinuationContext

public static Context getContinuationContext(CannotProceedException cpe)
                                      throws NamingException
Throws:
NamingException

getInitialContext

public static Context getInitialContext(Hashtable env)
                                 throws NamingException
Throws:
NamingException

getObjectInstance

public static Object getObjectInstance(Object refInfo,
                                       Name name,
                                       Context nameCtx,
                                       Hashtable environment)
                                throws Exception
Throws:
Exception

getStateToBind

public static Object getStateToBind(Object obj,
                                    Name name,
                                    Context nameCtx,
                                    Hashtable environment)
                             throws NamingException
Throws:
NamingException

getURLContext

public static Context getURLContext(String scheme,
                                    Hashtable environment)
                             throws NamingException
Throws:
NamingException

findStateFactory

protected static StateFactory findStateFactory(String className)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[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


Copyright 2011 SAP AG Complete Copyright Notice