| java.lang.Object org.springframework.ws.server.endpoint.MethodEndpoint
MethodEndpoint | final public class MethodEndpoint (Code) | | Represents a bean method that will be invoked as part of an incoming Web service message.
Consists of a
Method , and a bean
Object .
author: Arjen Poutsma since: 1.0.0 |
Constructor Summary | |
public | MethodEndpoint(Object bean, Method method) Constructs a new method endpoint with the given bean and method. | public | MethodEndpoint(Object bean, String methodName, Class[] parameterTypes) Constructs a new method endpoint with the given bean, method name and parameters. |
MethodEndpoint | public MethodEndpoint(Object bean, Method method)(Code) | | Constructs a new method endpoint with the given bean and method.
Parameters: bean - the object bean Parameters: method - the method |
MethodEndpoint | public MethodEndpoint(Object bean, String methodName, Class[] parameterTypes) throws NoSuchMethodException(Code) | | Constructs a new method endpoint with the given bean, method name and parameters.
Parameters: bean - the object bean Parameters: methodName - the method name Parameters: parameterTypes - the method parameter types throws: NoSuchMethodException - when the method cannot be found |
getBean | public Object getBean()(Code) | | Returns the object bean for this method endpoint.
|
getMethod | public Method getMethod()(Code) | | Returns the method for this method endpoint.
|
hashCode | public int hashCode()(Code) | | |
invoke | public Object invoke(Object[] args) throws Exception(Code) | | Invokes this method endpoint with the given arguments.
Parameters: args - the arguments the invocation result throws: Exception - when the method invocation results in an exception |
|
|