当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
EntityEnterpriseContext.TimerServiceWrapper (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb
Class EntityEnterpriseContext.TimerServiceWrapper
java.lang.Object
org.jboss.ejb.EntityEnterpriseContext.TimerServiceWrapper
- All Implemented Interfaces:
- javax.ejb.TimerService
- Enclosing class:
- EntityEnterpriseContext
- public class EntityEnterpriseContext.TimerServiceWrapper
- extends Object
- implements javax.ejb.TimerService
Delegates to the underlying TimerService, after checking access
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityEnterpriseContext.TimerServiceWrapper
public EntityEnterpriseContext.TimerServiceWrapper(EnterpriseContext.EJBContextImpl ctx,
javax.ejb.TimerService timerService)
createTimer
public javax.ejb.Timer createTimer(long duration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(long initialDuration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(Date expiration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(Date initialExpiration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
getTimers
public Collection getTimers()
throws IllegalStateException,
javax.ejb.EJBException
- Specified by:
getTimers
in interface javax.ejb.TimerService
- Throws:
IllegalStateException
javax.ejb.EJBException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.