net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.spring.tx
Interface AnnotationDriven

All Known Implementing Classes:
AnnotationDrivenImpl

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

getTransactionManager

String getTransactionManager()
Gets the value of the transactionManager property.

Returns:
possible object is String

setTransactionManager

void setTransactionManager(String value)
Sets the value of the transactionManager property.

Parameters:
value - allowed object is String

getMode

String getMode()
Gets the value of the mode property.

Returns:
possible object is String

setMode

void setMode(String value)
Sets the value of the mode property.

Parameters:
value - allowed object is String

isProxyTargetClass

boolean isProxyTargetClass()
Gets the value of the proxyTargetClass property.

Returns:
possible object is Boolean

setProxyTargetClass

void setProxyTargetClass(Boolean value)
Sets the value of the proxyTargetClass property.

Parameters:
value - allowed object is Boolean

getOrder

Integer getOrder()
Gets the value of the order property.

Returns:
possible object is Integer

setOrder

void setOrder(Integer value)
Sets the value of the order property.

Parameters:
value - allowed object is Integer


Copyright © 2009 The CC-XJC Community. All Rights Reserved.