Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.annotations
Annotation Type Conversational


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Conversational

This annotation is allowed only on a JAX-WS service endpoint implementation bean. This annoation is to specify the scope and access mode of a service endpoint implementation bean.


Optional Element Summary
 Conversational.AccessMode accessMode
          The access mode of a JAX-WS service endpoint implementation bean instance.
 Conversational.Scope scope
          Scope of a JAX-WS Service Endpoint Implementation Bean instance.
 int sessionTimeout
          The time, in seconds, between client requests before the container will invalidate this session.

 

scope

public abstract Conversational.Scope scope
Scope of a JAX-WS Service Endpoint Implementation Bean instance. If this Conversational is present on a service endpoint implementation bean, the default scope is Session if now value of the scope is specified. If a service endpoint implementation bean is NOT annotated with Conversational, then the default scope is Container.
Default:
oracle.webservices.annotations.Conversational.Scope.Session

accessMode

public abstract Conversational.AccessMode accessMode
The access mode of a JAX-WS service endpoint implementation bean instance.
Default:
oracle.webservices.annotations.Conversational.AccessMode.Concurrent

sessionTimeout

public abstract int sessionTimeout
The time, in seconds, between client requests before the container will invalidate this session. A negative time indicates the session should never timeout.
Default:
-2147483648

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.