public interface InterceptorExtensionInvocationEvent
InterceptorInvocationActivity
to the referenced interceptor extension component.
This event type is used rather than the more specific events typically fired on an
InterceptorActivity
when the SIS invokes an interceptor extension because the SLEE
application has provided the input object to the interceptor. Since this object could be
anything, and the SIS has no idea what this object is, the SIS uses this generic event type
for the interceptor extension invocation. It's left to the interceptor extension to interpret
the input object and make decisions as appropriate.
Modifier and Type | Method and Description |
---|---|
void |
continueProcessing()
Notify the SIS that evaluation of the interceptor invocation related to this event should be continued.
|
void |
continueProcessing(Object input)
Notify the SIS that evaluation of the interceptor invocation related to this event should be continued.
|
Object |
getInput()
Get the input object that the interceptor is currently processing.
|
int |
getInvocationID()
Get the invocation id of the interceptor invocation.
|
void |
halt()
Notify the SIS that further evaluation of the interceptor invocation related to this event should be immediately halted.
|
int getInvocationID()
InterceptorInvocationActivity
are used to return a response to the extension component invocation rather than the methods on
this class.Object getInput()
void continueProcessing() throws IllegalStateException
IllegalStateException
- if the SIS is not currently waiting on the extension component to provide a response.
This exception could be thrown for example if the extension component has taken too long to respond to the
request and a timeout has occurred in the SIS.void continueProcessing(Object input) throws IllegalStateException
input
- the new input object to replace the current input.IllegalStateException
- if the SIS is not currently waiting on the extension component to provide a response.
This exception could be thrown for example if the extension component has taken too long to respond to the
request and a timeout has occurred in the SIS.void halt() throws IllegalStateException
IllegalStateException
- if the SIS is not currently waiting on the extension component to provide a response.
This exception could be thrown for example if the extension component has taken too long to respond to the
request and a timeout has occurred in the SIS.