DEPRECATED Use com.bea.p13n.util.JndiHelper
Object
com.beasys.commerce.axiom.util.ToolkitConstants
Single point of access to the application server. This should make it easy to swap out servers, and processes.
Object
JNDIHelper
com.beasys.commerce.axiom.util.ToolkitConstants
Constructor Summary |
Method Summary |
public static void | |
public static void | |
public static | |
public static |
|
protected static |
|
public static |
|
public static | |
public static | |
public static |
|
public static |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JNDIHelper()
Method Detail |
public static void bind(Bind an object into the local naming context.String
name,Object
obj)
throwsNamingException
NamingException
Related Topics
JNDIHelper.bind(Context, String, Object)
JNDIHelper.getDefaultContext()
public static void bind(Bind an object to name in the given context.Context
ctx,String
name,Object
obj)
throwsNamingException
This supports binding multi-part names by creating the required sub Contexts as needed. If an object is already bound there, this will do a rebind.
NamingException
Related Topics
JNDIHelper.createSubcontext(Context, String)
public staticCreate a new context based on the properties file.Context
create(Hashtable
props)
throwsNamingException
Context
NamingException
public static Hashtable
createDefault()
Create the default context hashtable for creating the
InitialContext.
Hashtable
protected staticCreate a subcontext for the given name.Context
createSubcontext(Context
initial,String
name)
throwsNamingException
This will not create the last portion of the name.
NamingException
public static Context
getDefaultContext()
The default context. This will look to see if a default context has
been created
public staticSafely retrieve an EJBHome by passing it through the PortableRemoteObject.narrow method, using the EJBMetaData.Object
getHome(String
homeName)
throwsToolkitException
If rmi-iiop is not being used, this will just do a lookup.
ToolkitException
public staticGet home.Object
getHome(Context
ctx,String
homeName)
throwsNamingException
Object
NamingException
DEPRECATED See lookup
public staticConnect to a reference in JNDI referred to by the lookup name.Object
getService(String
aLookupName)
throwsToolkitException
ToolkitException
public staticConnect to a reference in JNDI referred to by the lookup name.Object
lookup(String
aLookupName)
throwsToolkitException
ToolkitException