|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
public abstract class AbstractMethodEndpointAdapter
Abstract base class for EndpointAdapter implementations that support MethodEndpoints. Contains
template methods for handling these method endpoints.
| Field Summary | |
|---|---|
protected Log |
logger
Logger available to subclasses. |
| Constructor Summary | |
|---|---|
AbstractMethodEndpointAdapter()
|
|
| Method Summary | |
|---|---|
void |
invoke(MessageContext messageContext,
Object endpoint)
Delegates to invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint). |
protected abstract void |
invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
Use the given method endpoint to handle the request. |
boolean |
supports(Object endpoint)
Delegates to supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint). |
protected abstract boolean |
supportsInternal(MethodEndpoint methodEndpoint)
Given a method endpoint, return whether or not this adapter can support it. |
| Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
|---|
createTransformer, getTransformerFactory, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log logger
| Constructor Detail |
|---|
public AbstractMethodEndpointAdapter()
| Method Detail |
|---|
public final boolean supports(Object endpoint)
supportsInternal(org.springframework.ws.server.endpoint.MethodEndpoint).
supports in interface EndpointAdapterendpoint - endpoint object to check
public final void invoke(MessageContext messageContext,
Object endpoint)
throws Exception
invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint).
invoke in interface EndpointAdaptermessageContext - the current message contextendpoint - the endpoint to use. This object must have previously been passed to the
supportsInternal method of this interface, which must have returned
true
Exception - in case of errorsprotected abstract boolean supportsInternal(MethodEndpoint methodEndpoint)
methodEndpoint - method endpoint to check
protected abstract void invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
throws Exception
messageContext - the current message contextmethodEndpoint - the method endpoint to use
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 | |||||||||