|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationDriven
Indicates that transaction configuration is defined by Java 5 annotations on bean classes, and that proxies are automatically to be created for the relevant annotated beans. The default annotations supported are Spring's @Transactional and EJB3's @TransactionAttribute (if available). Transaction semantics such as propagation settings, the isolation level, the rollback rules, etc are all defined in the annotation metadata.
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="transaction-manager" type="{http://www.w3.org/2001/XMLSchema}string" default="transactionManager" />
<attribute name="mode" default="proxy">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="proxy"/>
<enumeration value="aspectj"/>
</restriction>
</simpleType>
</attribute>
<attribute name="proxy-target-class" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
String |
getMode()
Gets the value of the mode property. |
Integer |
getOrder()
Gets the value of the order property. |
String |
getTransactionManager()
Gets the value of the transactionManager property. |
boolean |
isProxyTargetClass()
Gets the value of the proxyTargetClass property. |
void |
setMode(String value)
Sets the value of the mode property. |
void |
setOrder(Integer value)
Sets the value of the order property. |
void |
setProxyTargetClass(Boolean value)
Sets the value of the proxyTargetClass property. |
void |
setTransactionManager(String value)
Sets the value of the transactionManager property. |
| Method Detail |
|---|
String getTransactionManager()
Stringvoid setTransactionManager(String value)
value - allowed object is
StringString getMode()
Stringvoid setMode(String value)
value - allowed object is
Stringboolean isProxyTargetClass()
Booleanvoid setProxyTargetClass(Boolean value)
value - allowed object is
BooleanInteger getOrder()
Integervoid setOrder(Integer value)
value - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||