Package org.glassfish.webservices
Class InvokerImpl
- java.lang.Object
-
- com.sun.xml.ws.server.sei.Invoker
-
- com.sun.xml.ws.api.server.Invoker
-
- org.glassfish.webservices.InvokerImpl
-
- Direct Known Subclasses:
EjbInvokerImpl
public class InvokerImpl extends com.sun.xml.ws.api.server.Invoker
Implements JAXWS's Invoker interface to call the endpoint method
-
-
Field Summary
Fields Modifier and Type Field Description protected com.sun.xml.ws.api.server.Invoker
core
protected WebServiceContextImpl
injectedWSCtxt
protected Object
invokeObject
-
Constructor Summary
Constructors Constructor Description InvokerImpl(com.sun.xml.ws.api.server.Invoker core, Object inv, WebServiceContextImpl wsc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Object
invoke(com.sun.xml.ws.api.message.Packet p, Method m, Object... args)
<T> void
invokeAsyncProvider(com.sun.xml.ws.api.message.Packet p, T arg, com.sun.xml.ws.api.server.AsyncProviderCallback cbak, jakarta.xml.ws.WebServiceContext ctxt)
<T> T
invokeProvider(com.sun.xml.ws.api.message.Packet p, T arg)
void
start(com.sun.xml.ws.api.server.WSWebServiceContext wsc, com.sun.xml.ws.api.server.WSEndpoint endpoint)
-
-
-
Field Detail
-
core
protected final com.sun.xml.ws.api.server.Invoker core
-
invokeObject
protected final Object invokeObject
-
injectedWSCtxt
protected final WebServiceContextImpl injectedWSCtxt
-
-
Constructor Detail
-
InvokerImpl
public InvokerImpl(com.sun.xml.ws.api.server.Invoker core, Object inv, WebServiceContextImpl wsc)
-
-
Method Detail
-
start
public void start(com.sun.xml.ws.api.server.WSWebServiceContext wsc, com.sun.xml.ws.api.server.WSEndpoint endpoint)
- Overrides:
start
in classcom.sun.xml.ws.api.server.Invoker
-
dispose
public void dispose()
- Overrides:
dispose
in classcom.sun.xml.ws.api.server.Invoker
-
invoke
public Object invoke(com.sun.xml.ws.api.message.Packet p, Method m, Object... args) throws InvocationTargetException, IllegalAccessException
- Specified by:
invoke
in classcom.sun.xml.ws.server.sei.Invoker
- Throws:
InvocationTargetException
IllegalAccessException
-
invokeProvider
public <T> T invokeProvider(com.sun.xml.ws.api.message.Packet p, T arg) throws IllegalAccessException, InvocationTargetException
- Overrides:
invokeProvider
in classcom.sun.xml.ws.api.server.Invoker
- Throws:
IllegalAccessException
InvocationTargetException
-
invokeAsyncProvider
public <T> void invokeAsyncProvider(com.sun.xml.ws.api.message.Packet p, T arg, com.sun.xml.ws.api.server.AsyncProviderCallback cbak, jakarta.xml.ws.WebServiceContext ctxt) throws IllegalAccessException, InvocationTargetException
- Overrides:
invokeAsyncProvider
in classcom.sun.xml.ws.api.server.Invoker
- Throws:
IllegalAccessException
InvocationTargetException
-
-