站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

TimerHandle (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.ejb
Interface TimerHandle

All Superinterfaces:
Serializable

public interface TimerHandle
extends Serializable

The TimerHandle interface is implemented by all EJB timer handles.


Method Summary
 Timer getTimer()
          Obtain a reference to the timer represented by this handle.
 

Method Detail

getTimer

public Timer getTimer()
               throws IllegalStateException,
                      NoSuchObjectLocalException,
                      EJBException
Obtain a reference to the timer represented by this handle.

Returns:
Timer which this handle represents
Throws:
IllegalStateException - If this method is invoked while the instance is in a state that does not allow access to this method.
NoSuchObjectLocalException - If invoked on a timer that has expired or has been cancelled.
EJBException - If this method could not complete due to a system-level failure.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.