org.infinispan.config
Class Configuration.TransactionType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.config.Configuration.TransactionType
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable
Enclosing class:
Configuration

public static class Configuration.TransactionType
extends AbstractNamedCacheConfigurationBean

Defines transactional (JTA) characteristics of the cache.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Integer cacheStopTimeout
           
protected  Boolean eagerLockSingleNode
           
protected  Boolean syncCommitPhase
           
protected  Boolean syncRollbackPhase
           
protected  TransactionManagerLookup transactionManagerLookup
           
protected  String transactionManagerLookupClass
           
protected  Boolean useEagerLocking
           
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
Configuration.TransactionType()
           
Configuration.TransactionType(String transactionManagerLookupClass)
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void setCacheStopTimeout(Integer cacheStopTimeout)
           
 void setEagerLockSingleNode(Boolean eagerLockSingleNode)
           
 void setSyncCommitPhase(Boolean syncCommitPhase)
           
 void setSyncRollbackPhase(Boolean syncRollbackPhase)
           
 void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
           
 void setTransactionManagerLookupClass(String transactionManagerLookupClass)
           
 void setUseEagerLocking(Boolean useEagerLocking)
           
 void willUnmarshall(Object parent)
          Indicates that this element is about to be unmarshalled from the XML source that was processed.
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionManagerLookupClass

protected String transactionManagerLookupClass

transactionManagerLookup

protected TransactionManagerLookup transactionManagerLookup

syncCommitPhase

@Dynamic
protected Boolean syncCommitPhase

syncRollbackPhase

@Dynamic
protected Boolean syncRollbackPhase

useEagerLocking

@Dynamic
protected Boolean useEagerLocking

eagerLockSingleNode

@Dynamic
protected Boolean eagerLockSingleNode

cacheStopTimeout

@Dynamic
protected Integer cacheStopTimeout
Constructor Detail

Configuration.TransactionType

public Configuration.TransactionType(String transactionManagerLookupClass)

Configuration.TransactionType

public Configuration.TransactionType()
Method Detail

accept

public void accept(ConfigurationBeanVisitor v)

setTransactionManagerLookupClass

public void setTransactionManagerLookupClass(String transactionManagerLookupClass)

setSyncCommitPhase

public void setSyncCommitPhase(Boolean syncCommitPhase)

setSyncRollbackPhase

public void setSyncRollbackPhase(Boolean syncRollbackPhase)

setUseEagerLocking

public void setUseEagerLocking(Boolean useEagerLocking)

setTransactionManagerLookup

public void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)

setEagerLockSingleNode

public void setEagerLockSingleNode(Boolean eagerLockSingleNode)

setCacheStopTimeout

public void setCacheStopTimeout(Integer cacheStopTimeout)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

willUnmarshall

public void willUnmarshall(Object parent)
Description copied from interface: JAXBUnmarshallable
Indicates that this element is about to be unmarshalled from the XML source that was processed.

Specified by:
willUnmarshall in interface JAXBUnmarshallable
Overrides:
willUnmarshall in class AbstractConfigurationBean
Parameters:
parent - parent component


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.