public class TransactionComponent<T extends TransactionComponent<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransactionComponent.Mode |
Constructor and Description |
---|
TransactionComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
TransactionComponent.Mode |
mode()
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA,
FULL_XA.
|
T |
mode(TransactionComponent.Mode value)
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA,
FULL_XA.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
timeout()
The duration (in ms) after which idle transactions are rolled back.
|
T |
timeout(Long value)
The duration (in ms) after which idle transactions are rolled back.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public TransactionComponent.Mode mode()
public T mode(TransactionComponent.Mode value)
public Long timeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.