public class TimerHandleImpl extends Object implements javax.ejb.TimerHandle
| Constructor and Description |
|---|
TimerHandleImpl(String id,
String timedObjectId,
TimerServiceImpl service)
Creates a
TimerHandleImpl |
public TimerHandleImpl(String id, String timedObjectId, TimerServiceImpl service) throws IllegalArgumentException
TimerHandleImplid - The id of the timer instancetimedObjectId - The id of the target TimedObjectInvokerservice - 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.TimerHandleIllegalStateExceptionjavax.ejb.EJBExceptionpublic String getId()
public String getTimedObjectId()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.