Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.jws
Annotation Type Transactional


@Retention(value=RUNTIME)
@Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD})
public @interface Transactional

Annotation to change the transactional behavior of a web method. A WebMethod by default is not transactional. This annotation may be used to mark methods to run in a transaction.


Optional Element Summary
 int timeout
          Transaction timeout for POJOs
 boolean value
          Set to true to have method run in a transaction
 

value

public abstract boolean value
Set to true to have method run in a transaction

Default:
false

timeout

public abstract int timeout
Transaction timeout for POJOs

Default:
30

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, 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
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02