|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EndpointAdapter
Interface that must be implemented for each endpoint type to handle a message request. This interface is used to
allow the MessageDispatcher
to be indefinitely extensible. It accesses all installed endpoints through
this interface, meaning that is does not contain code specific to any endpoint type.
This interface is not intended for application developers. It is available for those who want to develop their own message flow.
MessageDispatcher
Method Summary | |
---|---|
void |
invoke(MessageContext messageContext,
Object endpoint)
Use the given endpoint to handle the request. |
boolean |
supports(Object endpoint)
Does this EndpointAdapter support the given endpoint ? |
Method Detail |
---|
boolean supports(Object endpoint)
EndpointAdapter
support the given endpoint
?
Typical EndpointAdapters
will base the decision on the endpoint type.
endpoint
- endpoint object to check
true
if this EndpointAdapter
supports the supplied endpoint
void invoke(MessageContext messageContext, Object endpoint) throws Exception
endpoint
to handle the request.
messageContext
- the current message contextendpoint
- the endpoint to use. This object must have previously been passed to the supports(Object)
method of this interface, which must have returned true
Exception
- in case of errors
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |