Oracle

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/E13222_01/wls/docs103
Copyright 1996,2008, 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.