com.sun.xml.ws.developer
Annotation Type Stateful


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
@WebServiceFeatureAnnotation(id="http://jax-ws.dev.java.net/features/stateful",
                             bean=StatefulFeature.class)
@InstanceResolverAnnotation(value=StatefulInstanceResolver.class)
public @interface Stateful

Designates a stateful WebService.

A service class that has this feature on will behave as a stateful web service. See StatefulWebServiceManager for more about stateful web service.

Since:
2.1