|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
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 | |
---|---|
Message |
getMessage()
Get the parameter for a given endpoint invocation |
Provider |
getProvider()
Get the endpoint provider instance |
MessageContext |
invoke(MessageContext mc)
Invoke the target endpoint synchronously |
protected java.lang.Object |
invokeProvider(MessageContext ctx,
Provider provider,
java.lang.Object input)
|
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 |
---|
createServiceInstance, getServiceImplementationClass |
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 mc) throws java.lang.Exception
EndpointDispatcher
invoke
in interface EndpointDispatcher
invoke
in class JavaDispatcher
java.lang.Exception
protected java.lang.Object invokeProvider(MessageContext ctx, Provider provider, java.lang.Object input) throws java.lang.Exception
java.lang.Exception
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |