|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface MultiTimeoutMethodTimedObjectInvoker
A MultiTimeoutMethodTimedObjectInvoker can handle multiple timeout methods.
This is unlike the TimedObjectInvoker which knows that there exists just one timeout method
on the target timed object
The timer service implementation is responsible for passing the correct timeout method
to the callTimeout(Timer, Method). The timeout method depends on the Timer
for which the timeout occurred.
| Method Summary | |
|---|---|
void |
callTimeout(javax.ejb.Timer timer,
java.lang.reflect.Method timeoutMethod)
Responsible for invoking the timeout method on the target object. |
| Methods inherited from interface org.jboss.ejb3.timerservice.spi.TimedObjectInvoker |
|---|
callTimeout, getTimedObjectId |
| Method Detail |
|---|
void callTimeout(javax.ejb.Timer timer,
java.lang.reflect.Method timeoutMethod)
throws java.lang.Exception
The timerservice implementation invokes this method as a callback when a timeout occurs for the passed
timer. The timerservice implementation will be responsible for passing the correct
timeout method corresponding to the timer on which the timeout has occurred.
timer - the Timer that is passed to ejbTimeouttimeoutMethod - The timeout method
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||