Annotation Type InstanceResolverAnnotation


@Target(ANNOTATION_TYPE) @Retention(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
Author:
Kohsuke Kawaguchi
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description