Package com.sun.xml.ws.server.servlet
Class HttpSessionInstanceResolver<T>
java.lang.Object
com.sun.xml.ws.api.server.InstanceResolver<T>
com.sun.xml.ws.api.server.AbstractInstanceResolver<T>
com.sun.xml.ws.server.AbstractMultiInstanceResolver<T>
com.sun.xml.ws.server.servlet.HttpSessionInstanceResolver<T>
Instance resolver that ties a service instance per
HttpSession.
TODO: how do we dispose instances?- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class com.sun.xml.ws.server.AbstractMultiInstanceResolver
clazz, owner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.xml.ws.server.AbstractMultiInstanceResolver
create, dispose, prepare, startMethods inherited from class com.sun.xml.ws.api.server.AbstractInstanceResolver
findAnnotatedMethod, getResourceInjector, invokeMethodMethods inherited from class com.sun.xml.ws.api.server.InstanceResolver
createDefault, createDefault, createFromInstanceResolverAnnotation, createInvoker, createNewInstance, createSingleton, dispose, postInvoke, start
-
Constructor Details
-
HttpSessionInstanceResolver
-
-
Method Details
-
resolve
Description copied from class:InstanceResolverDecides which instance of 'T' serves the given request message.This method is called concurrently by multiple threads. It is also on a criticail path that affects the performance. A good implementation should try to avoid any synchronization, and should minimize the amount of work as much as possible.
- Specified by:
resolvein classInstanceResolver<T>- Parameters:
request- Always non-null. Represents the request message to be served. The caller may not consume theMessage.
-