com.sun.xml.ws.api.server
Annotation Type InstanceResolverAnnotation


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface InstanceResolverAnnotation

Meta annotation for selecting instance resolver.

When service class is annotated with an annotation that has InstanceResolverAnnotation as meta annotation, the JAX-WS RI runtime will use the instance resolver class specified on value().

The InstanceResolver class must have the public constructor that takes Class, which represents the type of the service.

See Stateful for a real example. This annotation is only for advanced users of the JAX-WS RI.

Since:
JAX-WS 2.1
See Also:
Stateful

Required Element Summary
 Class<? extends InstanceResolver> value
           
 

Element Detail

value

public abstract Class<? extends InstanceResolver> value