|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.tx.AnnotationDriven
public class 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>
| Field Summary | |
|---|---|
protected String |
mode
|
protected Integer |
order
|
protected Boolean |
proxyTargetClass
|
protected String |
transactionManager
|
| Constructor Summary | |
|---|---|
AnnotationDriven()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.tx.AnnotationDriven instance. |
|
AnnotationDriven(AnnotationDriven o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.tx.AnnotationDriven instance by copying a given instance. |
|
| Method Summary | |
|---|---|
AnnotationDriven |
clone()
Creates and returns a copy of this object. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String transactionManager
protected String mode
protected Boolean proxyTargetClass
protected Integer order
| Constructor Detail |
|---|
public AnnotationDriven()
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.tx.AnnotationDriven instance.
public AnnotationDriven(AnnotationDriven o)
net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.tx.AnnotationDriven instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getTransactionManager()
Stringpublic void setTransactionManager(String value)
value - allowed object is
Stringpublic String getMode()
Stringpublic void setMode(String value)
value - allowed object is
Stringpublic boolean isProxyTargetClass()
Booleanpublic void setProxyTargetClass(Boolean value)
value - allowed object is
Booleanpublic Integer getOrder()
Integerpublic void setOrder(Integer value)
value - allowed object is
Integerpublic AnnotationDriven clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||