com.sun.xml.ws.server
Class AbstractMultiInstanceResolver<T>
java.lang.Object
com.sun.xml.ws.api.server.InstanceResolver<T>
com.sun.xml.ws.server.AbstractInstanceResolver<T>
com.sun.xml.ws.server.AbstractMultiInstanceResolver<T>
- Direct Known Subclasses:
- HttpSessionInstanceResolver, StatefulInstanceResolver
public abstract class AbstractMultiInstanceResolver<T>
- extends AbstractInstanceResolver<T>
Partial implementation of InstanceResolver
with code
to handle multiple instances per server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
protected final Class<T> clazz
owner
protected WSEndpoint owner
AbstractMultiInstanceResolver
public AbstractMultiInstanceResolver(Class<T> clazz)
prepare
protected final void prepare(T t)
- Perform resource injection on the given instance.
create
protected final T create()
- Creates a new instance via the default constructor.
start
public void start(WSWebServiceContext wsc,
WSEndpoint endpoint)
- Description copied from class:
InstanceResolver
- Called by
WSEndpoint
when it's set up.
This is an opportunity for InstanceResolver
to do a endpoint-specific initialization process.
- Overrides:
start
in class InstanceResolver<T>
- Parameters:
wsc
- The WebServiceContext
instance to be injected
to the user instances (assuming InstanceResolver
dispose
protected final void dispose(T instance)