|
||||||||
| 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 method name and method parameters of the timeout method
to the callTimeout(Timer, String, String[]). The method name and method parameters of the timeout method
depend on Timer for which the timeout occurred.
| Method Summary | |
|---|---|
void |
callTimeout(javax.ejb.Timer timer,
java.lang.String timeoutMethodName,
java.lang.String[] timeoutMethodParams)
Responsible for invoking the timeout method represented by the passed timeoutMethodName
and timeoutMethodParams, 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.String timeoutMethodName,
java.lang.String[] timeoutMethodParams)
throws java.lang.Exception
timeoutMethodName
and timeoutMethodParams, on the target object.
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 name and method params corresponding to the timer on which the timeout has occurred.
timer - the Timer that is passed to ejbTimeout
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||