Package org.jboss.as.ejb3.timerservice
Class TimerHandleImpl
- java.lang.Object
-
- org.jboss.as.ejb3.timerservice.TimerHandleImpl
-
- All Implemented Interfaces:
Serializable,javax.ejb.TimerHandle
public class TimerHandleImpl extends Object implements javax.ejb.TimerHandle
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimerHandleImpl(String id, String timedObjectId, TimerServiceImpl service)Creates aTimerHandleImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()StringgetTimedObjectId()javax.ejb.TimergetTimer()Returns theTimercorresponding to this timer handleinthashCode()
-
-
-
Constructor Detail
-
TimerHandleImpl
public TimerHandleImpl(String id, String timedObjectId, TimerServiceImpl service)
Creates aTimerHandleImpl- Parameters:
id- The id of the timer instancetimedObjectId- The id of the targetTimedObjectInvokerservice- The timer service to which this timer handle belongs to
-
-
Method Detail
-
getTimer
public javax.ejb.Timer getTimer() throws IllegalStateException, javax.ejb.EJBExceptionReturns theTimercorresponding to this timer handle- Specified by:
getTimerin interfacejavax.ejb.TimerHandle- Throws:
IllegalStateExceptionjavax.ejb.EJBException
-
getId
public String getId()
-
getTimedObjectId
public String getTimedObjectId()
-
-