public interface TimedObjectInvoker
Modifier and Type | Method and Description |
---|---|
void |
callTimeout(TimerImpl timer)
Invokes the ejbTimeout method on the TimedObject with the given id.
|
void |
callTimeout(TimerImpl timer,
Method timeoutMethod)
Responsible for invoking the timeout method on the target object.
|
ClassLoader |
getClassLoader() |
String |
getTimedObjectId()
The globally unique identifier for this timed object invoker.
|
String getTimedObjectId()
void callTimeout(TimerImpl timer) throws Exception
timer
- the Timer that is passed to ejbTimeoutException
void callTimeout(TimerImpl timer, Method timeoutMethod) throws 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 methodException
ClassLoader getClassLoader()
Copyright © 2014 JBoss by Red Hat. All rights reserved.