Package org.jboss.as.ejb3.timerservice
Class TimerHandleImpl
- java.lang.Object
-
- org.jboss.as.ejb3.timerservice.TimerHandleImpl
-
- All Implemented Interfaces:
jakarta.ejb.TimerHandle,Serializable
public class TimerHandleImpl extends Object implements jakarta.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()jakarta.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 jakarta.ejb.Timer getTimer() throws IllegalStateException, jakarta.ejb.EJBExceptionReturns theTimercorresponding to this timer handle- Specified by:
getTimerin interfacejakarta.ejb.TimerHandle- Throws:
IllegalStateExceptionjakarta.ejb.EJBException
-
getId
public String getId()
-
getTimedObjectId
public String getTimedObjectId()
-
-