|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerHandle
The TimerHandle interface allows the bean provider to obtain a serializable timer handle that may be persisted.
Since timers are local objects, a timer handle must not be passed through a bean's remote business interface, remote interface or web service interface.
Method Summary | |
---|---|
Timer |
getTimer()
Obtain a reference to the timer represented by this handle. |
Method Detail |
---|
Timer getTimer() throws java.lang.IllegalStateException, NoSuchObjectLocalException, EJBException
java.lang.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 |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41