public class TimerHandleImpl extends Object implements javax.ejb.TimerHandle
Constructor and Description |
---|
TimerHandleImpl(String id,
String timedObjectId,
TimerServiceImpl service)
Creates a
TimerHandleImpl |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId() |
String |
getTimedObjectId() |
javax.ejb.Timer |
getTimer()
Returns the
Timer corresponding to this timer handle
|
int |
hashCode() |
public TimerHandleImpl(String id, String timedObjectId, TimerServiceImpl service) throws IllegalArgumentException
TimerHandleImpl
id
- The id of the timer instancetimedObjectId
- The id of the target TimedObjectInvoker
service
- The timer service to which this timer handle belongs toIllegalArgumentException
- If either of the passed parameters is nullpublic javax.ejb.Timer getTimer() throws IllegalStateException, javax.ejb.EJBException
Timer
corresponding to this timer handle
getTimer
in interface javax.ejb.TimerHandle
IllegalStateException
javax.ejb.EJBException
public String getId()
public String getTimedObjectId()
Copyright © 2014 JBoss by Red Hat. All rights reserved.