|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblyEventListener
AssemblyEventListener plug-ins are informational plug-ins that have two methods. One runs after ResponseListener plug-ins when an endpoint is found and called. The other runs whenever an endpoint cannot be found.
In the first case, the "handleInvocation" method is called with an object that includes the following data:
Note that it is not passed the response message. Event Listeners are not supposed to make any decisions or take any actions based upon what the endpoint returned. They are mainly intended for use in notifying other frameworks of invocations (for example, you may wish to notify a management framework like Tivoli that an endpoint was invoked).
In the second case, the "handleEndpointNotFound" method is called with an object that includes the following data:
Similar to the first case, you can use this method to inform other frameworks of failures.
Method Summary | |
---|---|
void |
handleEndpointNotFound(EndpointNotFoundEvent notFound)
Called when no endpoint is found to handle the request. |
void |
handleInvocation(InvocationEvent invocation)
Called when an endpoint has responded and all ResponseListeners have been called. |
Method Detail |
---|
void handleInvocation(InvocationEvent invocation)
invocation
- An InvocationEvent that contains the following data items:
void handleEndpointNotFound(EndpointNotFoundEvent notFound)
notFound
- An EndpointNotFoundEvent that contains the following data items:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |