public class TransactionConfigurationBuilder extends AbstractConfigurationChildBuilder implements Builder<TransactionConfiguration>
RemoteCache
.Modifier and Type | Method and Description |
---|---|
TransactionConfiguration |
create()
Create the configuration bean
|
static TransactionManagerLookup |
defaultTransactionManagerLookup() |
Builder<?> |
read(TransactionConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
TransactionConfigurationBuilder |
transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
The
TransactionManagerLookup to lookup for the TransactionManager to interact with. |
TransactionConfigurationBuilder |
transactionMode(TransactionMode transactionMode)
The
TransactionMode in which a RemoteCache will be enlisted. |
void |
validate()
Validate the data in this builder before building the configuration bean
|
addCluster, addJavaSerialWhiteList, addServer, addServers, asyncExecutorFactory, balancingStrategy, balancingStrategy, balancingStrategy, balancingStrategy, batchSize, build, classLoader, clientIntelligence, connectionPool, connectionTimeout, consistentHashImpl, consistentHashImpl, forceReturnValues, keySizeEstimate, marshaller, marshaller, marshaller, maxRetries, protocolVersion, security, socketTimeout, tcpKeepAlive, tcpNoDelay, transaction, transportFactory, transportFactory, valueSizeEstimate, version, withProperties
public static TransactionManagerLookup defaultTransactionManagerLookup()
public TransactionConfigurationBuilder transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
TransactionManagerLookup
to lookup for the TransactionManager
to interact with.public TransactionConfigurationBuilder transactionMode(TransactionMode transactionMode)
TransactionMode
in which a RemoteCache
will be enlisted.public void validate()
Builder
validate
in interface Builder<TransactionConfiguration>
public TransactionConfiguration create()
Builder
create
in interface Builder<TransactionConfiguration>
public Builder<?> read(TransactionConfiguration template)
Builder
read
in interface Builder<TransactionConfiguration>
template
- the configuration from which to "clone" this config if needed.Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.