|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.server.endpoint.MethodEndpoint
public final class MethodEndpoint
Represents a bean method that will be invoked as part of an incoming Web service message.
Consists of aMethod
, and a bean Object
.
Constructor Summary | |
---|---|
MethodEndpoint(Object bean,
Method method)
Constructs a new method endpoint with the given bean and method. |
|
MethodEndpoint(Object bean,
String methodName,
Class[] parameterTypes)
Constructs a new method endpoint with the given bean, method name and parameters. |
|
MethodEndpoint(String beanName,
BeanFactory beanFactory,
Method method)
Constructs a new method endpoint with the given bean name and method. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Object |
getBean()
Returns the object bean for this method endpoint. |
Method |
getMethod()
Returns the method for this method endpoint. |
int |
hashCode()
|
Object |
invoke(Object[] args)
Invokes this method endpoint with the given arguments. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodEndpoint(Object bean, Method method)
bean
- the object beanmethod
- the methodpublic MethodEndpoint(Object bean, String methodName, Class[] parameterTypes) throws NoSuchMethodException
bean
- the object beanmethodName
- the method nameparameterTypes
- the method parameter types
NoSuchMethodException
- when the method cannot be foundpublic MethodEndpoint(String beanName, BeanFactory beanFactory, Method method)
invoke(Object[])
is called.
beanName
- the bean namebeanFactory
- the bean factory to use for bean initializationmethod
- the methodMethod Detail |
---|
public Object getBean()
public Method getMethod()
public Object invoke(Object[] args) throws Exception
args
- the arguments
Exception
- when the method invocation results in an exceptionpublic boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |