@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface InstanceResolverAnnotation
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.
Stateful
Modifier and Type | Required Element and Description |
---|---|
Class<? extends InstanceResolver> |
value |
public abstract Class<? extends InstanceResolver> value
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.