|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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 |
public abstract boolean value
public abstract int timeout
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |