Package com.sun.ejb.containers
Class EJBContextNamingProxy
- java.lang.Object
-
- com.sun.ejb.containers.EJBContextNamingProxy
-
- All Implemented Interfaces:
NamedNamingObjectProxy
@Service public class EJBContextNamingProxy extends Object implements NamedNamingObjectProxy
Proxy for accessing EJBContext objects when requested by lookup or injection. NamingManager will call the handle() method when the JNDI name is looked up.- Author:
- Ken Saks
-
-
Constructor Summary
Constructors Constructor Description EJBContextNamingProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
handle(String name)
Returns the name that will be used to publish this object in the naming manager
-
-
-
Method Detail
-
handle
public Object handle(String name) throws NamingException
Description copied from interface:NamedNamingObjectProxy
Returns the name that will be used to publish this object in the naming manager- Specified by:
handle
in interfaceNamedNamingObjectProxy
- Returns:
- the name to bind
- Throws:
NamingException
-
-