|
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
org.springframework.ws.server.endpoint.adapter.DefaultMethodEndpointAdapter
public class DefaultMethodEndpointAdapter
Default extension of AbstractMethodEndpointAdapter with support for pluggable argument resolvers and return value handlers.
| Field Summary |
|---|
| Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
DefaultMethodEndpointAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
List<MethodArgumentResolver> |
getMethodArgumentResolvers()
Returns the list of MethodArgumentResolvers to use. |
protected Object[] |
getMethodArguments(MessageContext messageContext,
MethodEndpoint methodEndpoint)
Returns the argument array for the given method endpoint. |
List<MethodReturnValueHandler> |
getMethodReturnValueHandlers()
Returns the list of MethodReturnValueHandlers to use. |
protected void |
handleMethodReturnValue(MessageContext messageContext,
Object returnValue,
MethodEndpoint methodEndpoint)
Handle the return value for the given method endpoint. |
protected void |
initDefaultStrategies()
Initialize the default implementations for the adapter's strategies. |
protected void |
invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
Use the given method endpoint to handle the request. |
void |
setBeanClassLoader(ClassLoader classLoader)
|
void |
setMethodArgumentResolvers(List<MethodArgumentResolver> methodArgumentResolvers)
Sets the list of MethodArgumentResolvers to use. |
void |
setMethodReturnValueHandlers(List<MethodReturnValueHandler> methodReturnValueHandlers)
Sets the list of MethodReturnValueHandlers to use. |
protected boolean |
supportsInternal(MethodEndpoint methodEndpoint)
Given a method endpoint, return whether or not this adapter can support it. |
| Methods inherited from class org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter |
|---|
invoke, supports |
| Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
|---|
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMethodEndpointAdapter()
| Method Detail |
|---|
public List<MethodArgumentResolver> getMethodArgumentResolvers()
MethodArgumentResolvers to use.
public void setMethodArgumentResolvers(List<MethodArgumentResolver> methodArgumentResolvers)
MethodArgumentResolvers to use.
public List<MethodReturnValueHandler> getMethodReturnValueHandlers()
MethodReturnValueHandlers to use.
public void setMethodReturnValueHandlers(List<MethodReturnValueHandler> methodReturnValueHandlers)
MethodReturnValueHandlers to use.
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAware
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionprotected void initDefaultStrategies()
protected boolean supportsInternal(MethodEndpoint methodEndpoint)
AbstractMethodEndpointAdapter
supportsInternal in class AbstractMethodEndpointAdaptermethodEndpoint - method endpoint to check
protected final void invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
throws Exception
AbstractMethodEndpointAdapter
invokeInternal in class AbstractMethodEndpointAdaptermessageContext - the current message contextmethodEndpoint - the method endpoint to use
Exception - in case of errors
protected Object[] getMethodArguments(MessageContext messageContext,
MethodEndpoint methodEndpoint)
throws Exception
messageContext - the current message contextmethodEndpoint - the method endpoint to get arguments for
Exception - in case of errors
protected void handleMethodReturnValue(MessageContext messageContext,
Object returnValue,
MethodEndpoint methodEndpoint)
throws Exception
messageContext - the current message contextreturnValue - the return valuemethodEndpoint - the method endpoint to get arguments for
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 | |||||||||