BEA Systems, Inc.

weblogic.jws
Interface Transactional

All Superinterfaces:
Annotation

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

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.


Method Summary
 int timeout()
          Transaction timeout for POJOs
 boolean value()
          Set to true to have method run in a transaction
 
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
 

Method Detail

value

boolean value()
Set to true to have method run in a transaction


timeout

int timeout()
Transaction timeout for POJOs


Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview
Copyright 2007 BEA Systems Inc.