Package com.ibm.websphere.ejbcontainer
Class LocalHomeAccessor
java.lang.Object
com.ibm.websphere.ejbcontainer.LocalHomeAccessor
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 Details
-
lookup
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:
NamingException
-
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.
-