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://edocs.bea.com/wls/docs103
Copyright 2008 Oracle