Package com.sun.ejb.containers
Class TimerServiceNamingProxy
- java.lang.Object
-
- com.sun.ejb.containers.TimerServiceNamingProxy
-
- All Implemented Interfaces:
NamedNamingObjectProxy
@Service public class TimerServiceNamingProxy extends Object implements NamedNamingObjectProxy
Proxy for creating TimerService instances when requested by lookup or injection. NamingManager will call the handle() method when the JNDI name is looked up. Will return the instance that corresponds to the known name.- Author:
- Marina Vatkina
-
-
Constructor Summary
Constructors Constructor Description TimerServiceNamingProxy()
-
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
-
-