|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.ejb Interface TimerHandle
- All Superinterfaces:
- Serializable
public interface TimerHandle
- extends Serializable
Implements:
java.io.Serializable
TimerHandle 接口由所有 EJB 计时器句柄实现。
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 |
---|
public Timer
getTimer() throws IllegalStateException, NoSuchObjectLocalException, EJBException
获得对此句柄表示的计时器的引用。
return | 对此句柄表示的计时器的引用。 |
Throws | IllegalStateException: 如果在实例不允许访问此方法的情况下调用了此方法。 |
Throws | NoSuchObjectLocalException: 如果对其相关计时器已经过期或删除的句柄调用此方法。 |
Throws | EJBException: 如果此方法由于系统级失败而无法完成。 |
getTimer
Timer getTimer() throws IllegalStateException, NoSuchObjectLocalException, EJBException
- Obtain a reference to the timer represented by this handle.
- Returns:
- a reference to the timer represented by this handle.
- 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 handle whose associated timer has expired or has been cancelled.EJBException
- If this method could not complete due to a system-level failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!