com.ibm.websphere.ejbcontainer
Class LocalHomeAccessor
- java.lang.Object
com.ibm.websphere.ejbcontainer.LocalHomeAccessor
Deprecated. Use Context.lookup() in ejblocal: namespace.
- @Deprecated public final class LocalHomeAccessor
- extends java.lang.Object
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
Modifier and Type | Method and Description |
---|---|
|
getLocalHomePrefixString()
Deprecated. Return the string used internally as the prefix for local EJB
home names.
|
|
lookup(java.lang.String target)
Deprecated. Look up a local home using its global home name in JNDI.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.