Class CacheTransactionManagerType
java.lang.Object
org.apache.geode.cache.configuration.CacheTransactionManagerType
A "cache-transaction-manager" element allows insertion of cache-level transaction listeners.
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>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the transactionListeners property.Gets the value of the transactionWriter property.voidSets the value of the transactionWriter property.
-
Field Details
-
transactionListeners
-
transactionWriter
-
-
Constructor Details
-
CacheTransactionManagerType
public CacheTransactionManagerType()
-
-
Method Details
-
getTransactionListeners
Gets the value of the transactionListeners property.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
setmethod 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- Returns:
- the
ListofTransactionListenertypes.
-
getTransactionWriter
Gets the value of the transactionWriter property. possible object isDeclarableType- Returns:
- the
TransactionWritertype.
-
setTransactionWriter
Sets the value of the transactionWriter property. allowed object isDeclarableType- Parameters:
value- theTransactionWritertype.
-