public abstract class Invoker extends Invoker
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 and Description |
|---|
Invoker() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called by
WSEndpoint
when WSEndpoint.dispose() is called. |
<T> void |
invokeAsyncProvider(Packet p,
T arg,
AsyncProviderCallback cbak,
WebServiceContext ctxt)
|
<T> T |
invokeProvider(Packet p,
T arg)
Invokes
Provider.invoke(Object) |
void |
start(WebServiceContext wsc)
Deprecated.
|
void |
start(WSWebServiceContext wsc,
WSEndpoint endpoint)
Called by
WSEndpoint when it's set up. |
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)public <T> void invokeAsyncProvider(@NotNull
Packet p,
T arg,
AsyncProviderCallback cbak,
WebServiceContext ctxt)
throws IllegalAccessException,
InvocationTargetException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.