Java EE 5 SDK

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

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.

Java EE 5 SDK

Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Scripting on this page tracks web page traffic, but does not change the content in any way.