|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.server.sei.Invoker
com.sun.xml.ws.api.server.Invoker
public abstract class Invoker
Hides the detail of calling into application endpoint implementation.
Typical host of the JAX-WS RI would want to use
InstanceResolver.createDefault(Class) and then
use InstanceResolver.createInvoker() to obtain
the default invoker implementation.
| Constructor Summary | |
|---|---|
Invoker()
|
|
| Method Summary | ||
|---|---|---|
void |
dispose()
Called by WSEndpoint
when WSEndpoint.dispose() is called. |
|
|
invokeAsyncProvider(Packet p,
T arg,
AsyncProviderCallback cbak,
WebServiceContext ctxt)
Invokes AsyncProvider.invoke(Object, AsyncProviderCallback, WebServiceContext) |
|
|
invokeProvider(Packet p,
T arg)
Invokes Provider.invoke(Object) |
|
void |
start(WebServiceContext wsc)
Deprecated. Use start(WSWebServiceContext,WSEndpoint) |
|
void |
start(WSWebServiceContext wsc,
WSEndpoint endpoint)
Called by WSEndpoint when it's set up. |
|
| Methods inherited from class com.sun.xml.ws.server.sei.Invoker |
|---|
invoke |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Invoker()
| Method Detail |
|---|
public void start(@NotNull
WSWebServiceContext wsc,
@NotNull
WSEndpoint endpoint)
WSEndpoint when it's set up.
This is an opportunity for Invoker
to do a endpoint-specific initialization process.
wsc - The WebServiceContext instance that can be injected
to the user instances.endpoint -
public void start(@NotNull
WebServiceContext wsc)
start(WSWebServiceContext,WSEndpoint)
public void dispose()
WSEndpoint
when WSEndpoint.dispose() is called.
This allows InstanceResolver to do final clean up.
This method is guaranteed to be only called once by WSEndpoint.
public <T> T invokeProvider(@NotNull
Packet p,
T arg)
throws IllegalAccessException,
InvocationTargetException
Provider.invoke(Object)
IllegalAccessException
InvocationTargetException
public <T> void invokeAsyncProvider(@NotNull
Packet p,
T arg,
AsyncProviderCallback cbak,
WebServiceContext ctxt)
throws IllegalAccessException,
InvocationTargetException
AsyncProvider.invoke(Object, AsyncProviderCallback, WebServiceContext)
IllegalAccessException
InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||