Package com.ibm.websphere.ejbcontainer
Class LocalHomeAccessor
- java.lang.Object
-
- com.ibm.websphere.ejbcontainer.LocalHomeAccessor
-
@Deprecated public final class LocalHomeAccessor extends java.lang.Object
Deprecated.Use Context.lookup() in ejblocal: namespace.This class decouples the internal WebSphere local home naming conventions from application programs that wish to directly interact with the local home namespace for Enterprise Java Beans (EJB) version 2.1 and earlier applications.For EJB version 3.0 and later applications, javax.naming.Context.lookup() in the ejblocal: namespace must be used instead.
- Since:
- WAS 6.1
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
getLocalHomePrefixString()
Deprecated.Return the string used internally as the prefix for local EJB home names.static java.lang.Object
lookup(java.lang.String target)
Deprecated.Look up a local home using its global home name in JNDI.
-
-
-
Method Detail
-
lookup
public static java.lang.Object lookup(java.lang.String target) throws javax.naming.NamingException
Deprecated.Look up a local home using its global home name in JNDI. The semantics are identical to javax.naming.Context.lookup().- Parameters:
target
- The global JNDI name assigned to the bean.- Returns:
- The local home for this bean.
- Throws:
javax.naming.NamingException
-
getLocalHomePrefixString
public static java.lang.String getLocalHomePrefixString()
Deprecated.Return the string used internally as the prefix for local EJB home names.- Returns:
- The string used as the local EJB home name prefix.
-
-