| java.lang.Object org.lateralnz.common.util.JNDIUtils
JNDIUtils | final public class JNDIUtils implements Constants,ObjectFactory(Code) | | common utilities for looking up objects (EJBs, Datasources, etc)
in the JNDI tree
author: J R Briggs |
Method Summary | |
public static void | bind(String objectName, Object obj) | public static void | bind(Context ctx, String objectName, Object obj) | final public static void | bindNonSerializable(String name, Object obj, Context ctx) | final public static Context | createSubcontext(Context ctx, String name) | final public static Object | get(String objectName) | final public static Object | get(Context ctx, String objectName) | final public static Context | getContext(String contextName) | final public static Context | getContext(String contextName, String server) | final public static Context | getDefaultContext() | final public static EJBHome | getEJBHome(String ejbName, Class ejbHomeClass) | final public static EJBHome | getEJBHome(Context ctx, String ejbName, Class ejbHomeClass) | public Object | getObjectInstance(Object obj, Name name, Context ctx, Hashtable environment) | protected String | getProperty(Reference ref, String s) | final public static void | main(String[] args) | final public static void | remove(EJBObject obj) | public static void | unbind(String objectName) | public static void | unbind(Context ctx, String objectName) |
getDefaultContext | final public static Context getDefaultContext()(Code) | | |
remove | final public static void remove(EJBObject obj)(Code) | | call the remove() method on an EJB -- and ignore any exceptions
|
unbind | public static void unbind(String objectName) throws NamingException(Code) | | unbind an object from the JNDI tree using the default context
|
|
|