TimerHandle (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.ejb Interface TimerHandle

所有父接口:
Serializable

public interface TimerHandle
extends Serializable

The TimerHandle interface is implemented by all EJB timer handles.


方法摘要
 Timer getTimer()
          Obtain a reference to the timer represented by this handle.
 

方法详细信息

getTimer

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

返回:
a reference to the timer represented by this handle.
抛出异常:
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 handle whose associated timer has expired or has been cancelled.
EJBException - If this method could not complete due to a system-level failure.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.