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)
TimerHandleImplid - The id of the timer instancetimedObjectId - The id of the target TimedObjectInvokerservice - The timer service to which this timer handle belongs topublic javax.ejb.Timer getTimer()
throws IllegalStateException,
javax.ejb.EJBException
Timer corresponding to this timer handle
getTimer in interface javax.ejb.TimerHandleIllegalStateExceptionjavax.ejb.EJBExceptionpublic String getId()
public String getTimedObjectId()
Copyright © 2022 JBoss by Red Hat. All rights reserved.