|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher org.apache.axis2.jaxws.server.dispatcher.ProviderDispatcher
public class ProviderDispatcher
The ProviderDispatcher is used to invoke instances of a target endpoint that implement the Provider
interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher |
---|
JavaDispatcher.AsyncInvocationWorker |
Field Summary |
---|
Fields inherited from class org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher |
---|
serviceImplClass, serviceInstance |
Constructor Summary | |
---|---|
ProviderDispatcher(java.lang.Class _class,
java.lang.Object serviceInstance)
Constructor |
Method Summary | |
---|---|
MessageContext |
createFaultResponse(MessageContext request,
java.lang.Throwable fault)
|
java.lang.Object |
createRequestParameters(MessageContext request)
|
MessageContext |
createResponse(MessageContext request,
java.lang.Object[] input,
java.lang.Object output)
|
protected java.lang.reflect.Method |
getJavaMethod()
|
Message |
getMessage()
Get the parameter for a given endpoint invocation |
Provider |
getProvider()
Get the endpoint provider instance |
MessageContext |
invoke(MessageContext request)
Invoke the target endpoint synchronously |
void |
invokeAsync(MessageContext request,
EndpointCallback callback)
|
void |
invokeOneWay(MessageContext request)
|
void |
setMessage(Message msg)
Set the parameter for a given endpoint invocation |
void |
setProvider(Provider _provider)
Set the endpoint provider instance |
Methods inherited from class org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher |
---|
getServiceImplementationClass, invokeTargetOperation, responseReady, setFaultResponseAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProviderDispatcher(java.lang.Class _class, java.lang.Object serviceInstance)
_class
- serviceInstance
- Method Detail |
---|
public MessageContext invoke(MessageContext request) throws java.lang.Exception
EndpointDispatcher
invoke
in interface EndpointDispatcher
invoke
in class JavaDispatcher
java.lang.Exception
public void invokeOneWay(MessageContext request)
invokeOneWay
in interface EndpointDispatcher
invokeOneWay
in class JavaDispatcher
public void invokeAsync(MessageContext request, EndpointCallback callback)
invokeAsync
in interface EndpointDispatcher
invokeAsync
in class JavaDispatcher
public java.lang.Object createRequestParameters(MessageContext request)
public MessageContext createResponse(MessageContext request, java.lang.Object[] input, java.lang.Object output)
createResponse
in class JavaDispatcher
public MessageContext createFaultResponse(MessageContext request, java.lang.Throwable fault)
createFaultResponse
in class JavaDispatcher
public Provider getProvider() throws java.lang.Exception
java.lang.Exception
public void setProvider(Provider _provider)
_provider
- public Message getMessage() throws java.lang.Exception
java.lang.Exception
public void setMessage(Message msg)
msg
- protected java.lang.reflect.Method getJavaMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |