@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.
Modifier and Type | Method and 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.
|
public static java.lang.Object lookup(java.lang.String target) throws javax.naming.NamingException
target
- The global JNDI name assigned to the bean.javax.naming.NamingException
public static java.lang.String getLocalHomePrefixString()