com.ibm.websphere.ejbcontainer

Class LocalHomeAccessor

  1. java.lang.Object
  2. extended bycom.ibm.websphere.ejbcontainer.LocalHomeAccessor

Deprecated. Use Context.lookup() in ejblocal: namespace.
  1. @Deprecated
  2. public final class LocalHomeAccessor
  3. extends java.lang.Object
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

Modifier and Type Method and Description
  1. static
  2. java.lang.String
getLocalHomePrefixString()
Deprecated. Return the string used internally as the prefix for local EJB home names.
  1. static
  2. java.lang.Object
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

  1. public static java.lang.Object lookup( java.lang.String target)
  2. 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

  1. 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.