Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.jws
Annotation Type Conversational


@Retention(value=RUNTIME)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface Conversational

Annotation to configure additional information for a conversational service.

This annotation is not required for a service to be considered conversational.


Optional Element Summary
 String maxAge
          The amount of time (since it started) that the conversation may remain active before it is finished by WebLogic Server.
 String maxIdleTime
          The amount of time that the conversation may remain idle before it is finished by WebLogic Server.
 boolean runAsStartUser
          Continue and finish methods will be run as the user who started the conversation
 boolean singlePrincipal
          If true, only the principal who started the conversation can continue and finish the conversation.
 

maxIdleTime

public abstract String maxIdleTime
The amount of time that the conversation may remain idle before it is finished by WebLogic Server. Note that only activity between a web service and its client will reset the idle timer; activity between a web service and controls does not reset the idle timer. Conversations with 0-length idle timeout will never timeout due to inactivity

Default:
"0 seconds"

maxAge

public abstract String maxAge
The amount of time (since it started) that the conversation may remain active before it is finished by WebLogic Server. Default: 1 day (24 hours).

Default:
"1 day"

runAsStartUser

public abstract boolean runAsStartUser
Continue and finish methods will be run as the user who started the conversation

Default:
false

singlePrincipal

public abstract boolean singlePrincipal
If true, only the principal who started the conversation can continue and finish the conversation. If false, a conversation can be continued and finished by another (appropriately authorized) user.

Default:
false

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02