@Experimental public class CacheTransactionManagerType extends Object
Java class for cache-transaction-manager-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cache-transaction-manager-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="transaction-listener" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/> <element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="transaction-writer" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/> <element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<DeclarableType> |
transactionListeners |
protected DeclarableType |
transactionWriter |
Constructor and Description |
---|
CacheTransactionManagerType() |
Modifier and Type | Method and Description |
---|---|
List<DeclarableType> |
getTransactionListeners()
Gets the value of the transactionListeners property.
|
DeclarableType |
getTransactionWriter()
Gets the value of the transactionWriter property.
|
void |
setTransactionWriter(DeclarableType value)
Sets the value of the transactionWriter property.
|
protected List<DeclarableType> transactionListeners
protected DeclarableType transactionWriter
public List<DeclarableType> getTransactionListeners()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the transactionListeners property.
For example, to add a new item, do as follows:
getTransactionListeners().add(newItem);
Objects of the following type(s) are allowed in the list
DeclarableType
List
of TransactionListener
types.public DeclarableType getTransactionWriter()
DeclarableType
TransactionWriter
type.public void setTransactionWriter(DeclarableType value)
DeclarableType
value
- the TransactionWriter
type.