ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
JTAClusterMBean
public interface JTAMBean extends ConfigurationMBean
This interface provides access to the JTA configuration attributes. The methods defined herein are applicable for JTA configuration at the domain level.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CLIENTCERTREQUIRED |
|
static java.lang.String |
SSLNOTREQUIRED |
|
static java.lang.String |
SSLREQUIRED |
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
int |
getAbandonTimeoutSeconds() |
Specifies the maximum amount of time, in seconds, a
transaction manager persists in attempting to complete
the second phase of a two-phase commit transaction.
|
int |
getBeforeCompletionIterationLimit() |
The maximum number of cycles that the transaction manager
performs the
beforeCompletion synchronization callback for
this WebLogic Server domain. |
int |
getCheckpointIntervalSeconds() |
The interval at which the transaction manager creates a new
transaction log file and checks all old transaction log files to
see if they are ready to be deleted.
|
int |
getCompletionTimeoutSeconds() |
Specifies the maximum amount of time, in seconds, a transaction manager waits
for all resource managers to respond and indicate if the transaction can be committed or rolled back.
|
int |
getCrossSiteRecoveryLeaseExpiration() |
Deprecated.
12.2.1.4.0
|
int |
getCrossSiteRecoveryLeaseUpdate() |
Deprecated.
12.2.1.4.0
|
int |
getCrossSiteRecoveryRetryInterval() |
Deprecated.
12.2.1.4.0
|
DeterminerCandidateResourceInfoVBean[] |
getDeterminerCandidateResourceInfoList() |
Returns a list of one or more transaction resources (determiners).
|
java.lang.String[] |
getDeterminers() |
Select a transaction resource (determiner) from the list of resources.
|
boolean |
getForgetHeuristics() |
Specifies whether the transaction manager automatically
performs an XA Resource
forget operation for heuristic
transaction completions. |
int |
getLocalDomainSecurityCacheTTL() |
Returns the time-to-live (TTL), in seconds, of the Local Domain Security
subject cache.
|
int |
getMaxResourceRequestsOnServer() |
Maximum number of concurrent requests to resources allowed for
each server.
|
long |
getMaxResourceUnavailableMillis() |
Maximum duration time, in milliseconds, that a resource is declared
dead.
|
int |
getMaxRetrySecondsBeforeDeterminerFail() |
The maximum amount of time, in seconds, WebLogic Server waits for the determiner to recover from a failure.
|
int |
getMaxTransactions() |
The maximum number of simultaneous in-progress transactions
allowed on a server in this WebLogic Server domain.
|
int |
getMaxUniqueNameStatistics() |
The maximum number of unique transaction names for which
statistics are maintained.
|
long |
getMaxXACallMillis() |
Maximum allowed time duration, in milliseconds, for XA calls to resources.
|
java.lang.String |
getRecoverySiteName() |
Deprecated.
12.2.1.4.0
|
java.lang.String |
getSecurityInteropMode() |
Specifies the security mode of the communication channel used
for XA calls between servers that participate in a global transaction.
|
long |
getSerializeEnlistmentsGCIntervalMillis() |
The time interval, in milliseconds, at which internal objects used to serialize
resource enlistment are cleaned up.
|
int |
getShutdownGracePeriod() |
Indicates how long the server should wait for active transactions to complete before allowing shutdown.
|
int |
getTimeoutSeconds() |
Specifies the maximum amount of time, in seconds, an active transaction is
allowed to be in the first phase of a two-phase commit transaction.
|
int |
getUnregisterResourceGracePeriod() |
The amount of time, in seconds, a transaction manager waits
for transactions involving the resource to complete
before unregistering a resource.
|
java.lang.String |
getWSATTransportSecurityMode() |
Specifies transport security mode required by WebService Transaction endpoints.
|
boolean |
isClusterwideRecoveryEnabled() |
Indicates that cluster-wide recovery is used for distributed transactions.
|
boolean |
isLocalDomainSecurityCacheEnabled() |
Returns whether the Local Domain Security subject cache is enabled.
|
boolean |
isLocalDomainSecurityEnabled() |
Returns whether Local Domain Security is enabled.
|
boolean |
isTightlyCoupledTransactionsEnabled() |
Indicates tight coupling of transaction branches that span
different transaction manager systems.
|
boolean |
isTLOGWriteWhenDeterminerExistsEnabled() |
Indicates two-phase transaction recovery logs are written even if one or more
determiners are configured.
|
boolean |
isTwoPhaseEnabled() |
Indicates that the two-phase commit protocol is used to coordinate transactions across two or more resource managers.
|
boolean |
isWSATIssuedTokenEnabled() |
Specifies whether to use
issuedtoken to enable authentication between the WS-AT
coordinator and participant. |
void |
setAbandonTimeoutSeconds(int timeout) |
Sets the value of the AbandonTimeoutSeconds attribute.
|
void |
setBeforeCompletionIterationLimit(int iterations) |
Sets the value of the BeforeCompletionIterationLimit
attribute.
|
void |
setCheckpointIntervalSeconds(int interval) |
Sets value of the CheckpointIntervalSeconds attribute.
|
void |
setClusterwideRecoveryEnabled(boolean isClusterwideRecoveryEnabled) |
Sets the value of the ClusterwideRecoveryEnabled attribute.
|
void |
setCompletionTimeoutSeconds(int completionTimeout) |
Sets the value of the CompletionTimeoutSeconds attribute.
|
void |
setCrossSiteRecoveryLeaseExpiration(int crossSiteRecoveryLeaseExpiration) |
Deprecated.
12.2.1.4.0
|
void |
setCrossSiteRecoveryLeaseUpdate(int crossSiteRecoveryLeaseUpdate) |
Deprecated.
12.2.1.4.0
|
void |
setCrossSiteRecoveryRetryInterval(int crossSiteRecoveryRetryInterval) |
Deprecated.
12.2.1.4.0
|
void |
setDeterminers(java.lang.String[] names) |
Sets the value of the Determiners attribute.
|
void |
setForgetHeuristics(boolean forget) |
Sets the value of the ForgetHeuristics attribute.
|
void |
setLocalDomainSecurityCacheEnabled(boolean enabled) |
Specifies whether to enable the Local Domain Security subject cache.
|
void |
setLocalDomainSecurityCacheTTL(int seconds) |
Specifies the time-to-live (TTL), in seconds, of the Local Domain Security
subject cache.
|
void |
setLocalDomainSecurityEnabled(boolean enabled) |
Specifies whether to enable Local Domain Security.
|
void |
setMaxRetrySecondsBeforeDeterminerFail(int maxRetrySecondsBeforeDeterminerFail) |
Sets the value of the MaxRetrySecondsBeforeDeterminerFail attribute.
|
void |
setMaxTransactions(int max) |
Sets the value of the MaxTransactions attribute.
|
void |
setMaxUniqueNameStatistics(int max) |
Sets the value of the MaxUniqueNameStatistics attribute.
|
void |
setParallelXAEnabled(boolean enabled) |
Sets the value of the ParallelXAEnabled attribute.
|
void |
setRecoverySiteName(java.lang.String recoverySiteName) |
Deprecated.
12.2.1.4.0
|
void |
setSecurityInteropMode(java.lang.String mode) |
Sets the value of the SecurityInteropMode attribute.
|
void |
setShutdownGracePeriod(int shutdownGracePeriod) |
Sets the value of the shutdownGracePeriod attribute.
|
void |
setTightlyCoupledTransactionsEnabled(boolean isClusterwideRecoveryEnabled) |
Sets the value of the TightlyCoupledTransactionsEnabled attribute.
|
void |
setTimeoutSeconds(int timeout) |
Sets the value of the TimeoutSeconds attribute.
|
void |
setTLOGWriteWhenDeterminerExistsEnabled(boolean isTLOGWriteWhenDeterminerExistsEnabled) |
Sets the value of the TLOGWriteWhenDeterminerExistsEnabled attribute.
|
void |
setTwoPhaseEnabled(boolean isTwoPhaseEnabled) |
Sets the value of the TwoPhaseEnabled attribute.
|
void |
setUnregisterResourceGracePeriod(int seconds) |
Sets the unregisterResource grace period.
|
void |
setWSATIssuedTokenEnabled(boolean enabled) |
Sets the value of the WSATIssuedTokenEnabled attribute.
|
void |
setWSATTransportSecurityMode(java.lang.String mode) |
Sets the value of the WSATTransportSecurityMode attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
static final java.lang.String SSLNOTREQUIRED
static final java.lang.String SSLREQUIRED
static final java.lang.String CLIENTCERTREQUIRED
int getTimeoutSeconds()
Specifies the maximum amount of time, in seconds, an active transaction is allowed to be in the first phase of a two-phase commit transaction. If the specified amount of time expires, the transaction is automatically rolled back.
void setTimeoutSeconds(int timeout) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the TimeoutSeconds attribute.
timeout
- Transaction timeout in seconds.javax.management.InvalidAttributeValueException
DistributedManagementException
getTimeoutSeconds()
int getAbandonTimeoutSeconds()
Specifies the maximum amount of time, in seconds, a transaction manager persists in attempting to complete the second phase of a two-phase commit transaction.
During the second phase of a two-phase commit transaction, the transaction manager continues to try to complete the transaction until all resource managers indicate that the transaction is completed. After the abandon transaction timer expires, no further attempt is made to resolve the transaction. If the transaction is in a prepared state before being abandoned, the transaction manager rolls back the transaction to release any locks held on behalf of the abandoned transaction.
void setAbandonTimeoutSeconds(int timeout) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the AbandonTimeoutSeconds attribute.
timeout
- Abandon timeout in seconds.javax.management.InvalidAttributeValueException
DistributedManagementException
getAbandonTimeoutSeconds()
int getCompletionTimeoutSeconds()
Specifies the maximum amount of time, in seconds, a transaction manager waits for all resource managers to respond and indicate if the transaction can be committed or rolled back.
transaction-timeout
value with a maximum value of 120 seconds. This
value provides backward compatibility for prior releases without this setting.abandon-timeout-seconds
,
the value of abandon-timeout-seconds
is used. void setCompletionTimeoutSeconds(int completionTimeout) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompletionTimeoutSeconds attribute.
completionTimeout
- Completion timeout in seconds.javax.management.InvalidAttributeValueException
DistributedManagementException
getCompletionTimeoutSeconds()
boolean getForgetHeuristics()
Specifies whether the transaction manager automatically
performs an XA Resource forget
operation for heuristic
transaction completions.
When enabled, the transaction manager automatically performs an
XA Resource forget()
operation for all resources as
soon as the transaction learns of a heuristic outcome. Disable this
feature only if you know what to do with the resource when it
reports a heuristic decision.
void setForgetHeuristics(boolean forget) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the ForgetHeuristics attribute.
forget
- Whether or not to forget heuristic transactions in affected resource managers.javax.management.InvalidAttributeValueException
DistributedManagementException
getForgetHeuristics()
int getBeforeCompletionIterationLimit()
The maximum number of cycles that the transaction manager
performs the beforeCompletion
synchronization callback for
this WebLogic Server domain.
Nothing prevents a Synchronization object from registering
another during beforeCompletion
, even those whose
beforeCompletions
have already been called. For
example, an EJB can call another in its ejbStore()
method. To accommodate this, the transaction manager calls all
Synchronization objects, then repeats the cycle if new ones have
been registered. This count sets a limit to the number of cycles
that synchronization occurs.
void setBeforeCompletionIterationLimit(int iterations) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the BeforeCompletionIterationLimit attribute.
iterations
- The maximum number of beforeCompletion iterations among registered objects.javax.management.InvalidAttributeValueException
DistributedManagementException
getBeforeCompletionIterationLimit()
int getMaxTransactions()
The maximum number of simultaneous in-progress transactions allowed on a server in this WebLogic Server domain.
void setMaxTransactions(int max) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxTransactions attribute.
max
- The maximum number of concurrent transactions.javax.management.InvalidAttributeValueException
DistributedManagementException
getMaxTransactions()
int getMaxUniqueNameStatistics()
The maximum number of unique transaction names for which statistics are maintained.
The first 1001 unique transaction names are maintained
as their own transaction name and stored in each statistic.
After the 1001st transaction name is reached, the
transaction name is stored as
weblogic.transaction.statistics.namedOverflow
, and the
transaction statistic is also merged and maintained in
weblogic.transaction.statistics.namedOverflow
.
A transaction name typically represents a category of business transactions, such as "funds-transfer."
void setMaxUniqueNameStatistics(int max) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxUniqueNameStatistics attribute.
max
- Limit of individual transaction name statisticsjavax.management.InvalidAttributeValueException
DistributedManagementException
getMaxUniqueNameStatistics()
int getMaxResourceRequestsOnServer()
Maximum number of concurrent requests to resources allowed for each server.
long getMaxXACallMillis()
Maximum allowed time duration, in milliseconds, for XA calls to resources. If a particular XA call to a resource exceeds the limit, the resource is declared unavailable.
long getMaxResourceUnavailableMillis()
Maximum duration time, in milliseconds, that a resource is declared dead. After the duration, the resource is declared available again, even if the resource provider does not explicitly re-register the resource.
int getCheckpointIntervalSeconds()
The interval at which the transaction manager creates a new transaction log file and checks all old transaction log files to see if they are ready to be deleted.
void setCheckpointIntervalSeconds(int interval) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets value of the CheckpointIntervalSeconds attribute.
interval
- The new checkpointIntervalSeconds valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getCheckpointIntervalSeconds()
long getSerializeEnlistmentsGCIntervalMillis()
The time interval, in milliseconds, at which internal objects used to serialize resource enlistment are cleaned up.
void setParallelXAEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the ParallelXAEnabled attribute.
enabled
- The new enabled valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getParallelXAEnabled()
int getUnregisterResourceGracePeriod()
The amount of time, in seconds, a transaction manager waits for transactions involving the resource to complete before unregistering a resource. This grace period helps minimize the risk of abandoned transactions because of an unregistered resource, such as a JDBC data source module packaged with an application.
During the specified grace period, the unregisterResource
call blocks
until the call returns and no new transactions
are started for the associated resource. If the number of
outstanding transactions for the resource goes to 0
, the unregisterResource
call returns immediately.
At the end of the grace period, if outstanding transactions are associated
with the resource, the unregisterResource
call returns and a log message is written to the server
on which the resource was previously registered.
void setUnregisterResourceGracePeriod(int seconds) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the unregisterResource grace period.
seconds
- The new grace period value.javax.management.InvalidAttributeValueException
DistributedManagementException
getUnregisterResourceGracePeriod()
java.lang.String getSecurityInteropMode()
Specifies the security mode of the communication channel used for XA calls between servers that participate in a global transaction. All server instances in a domain must have the same security mode setting.
Security Interoperability Mode options:
anonymous
otherwise.
Man-in-the-middle attacks are possible if the admin channel is not enabled.anonymous
at all times. This implies a security risk since a malicious third party
could then try to affect the outcome of transactions using a man-in-the-middle attack.void setSecurityInteropMode(java.lang.String mode) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the SecurityInteropMode attribute.
javax.management.InvalidAttributeValueException
DistributedManagementException
getSecurityInteropMode()
java.lang.String getWSATTransportSecurityMode()
Specifies transport security mode required by WebService Transaction endpoints.
Transport Security options:
void setWSATTransportSecurityMode(java.lang.String mode) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the WSATTransportSecurityMode attribute.
javax.management.InvalidAttributeValueException
DistributedManagementException
getWSATTransportSecurityMode()
boolean isWSATIssuedTokenEnabled()
Specifies whether to use issuedtoken
to enable authentication between the WS-AT
coordinator and participant.
void setWSATIssuedTokenEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the WSATIssuedTokenEnabled attribute.
javax.management.InvalidAttributeValueException
DistributedManagementException
isWSATIssuedTokenEnabled()
boolean isTwoPhaseEnabled()
Indicates that the two-phase commit protocol is used to coordinate transactions across two or more resource managers.
If not selected:
void setTwoPhaseEnabled(boolean isTwoPhaseEnabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the TwoPhaseEnabled attribute. When false, all transaction logging is disabled, including checkpoint records. Only one-phase commit processing is allowed.
isTwoPhaseEnabled
- The new isTwoPhaseEnabled valuejavax.management.InvalidAttributeValueException
DistributedManagementException
isTwoPhaseEnabled()
boolean isClusterwideRecoveryEnabled()
Indicates that cluster-wide recovery is used for distributed transactions.
When enabled, recovery operations for a distributed transaction are applied to all the servers of the cluster hosting a InterposedTransactionManager rather than just the server hosting the InterposedTransactionManager.
void setClusterwideRecoveryEnabled(boolean isClusterwideRecoveryEnabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the ClusterwideRecoveryEnabled attribute.
isClusterwideRecoveryEnabled
- The new isClusterwideRecoveryEnabled valuejavax.management.InvalidAttributeValueException
DistributedManagementException
isClusterwideRecoveryEnabled()
boolean isTightlyCoupledTransactionsEnabled()
Indicates tight coupling of transaction branches that span different transaction manager systems.
When enabled, WebLogic uses the transaction identifier of a transaction imported by the InterposedTransactionManager for XA calls rather than an internally mapped Xid. This applies to inter-domain WebLogic transactions and transactions imported from Tuxedo. This allows for tight coupling of transaction branches for transactions that span across different transaction manager systems.
If a transaction between WebLogic and Tuxedo resources uses a GridLink Data Source with GridLink Affinity enabled, the XA Affinity context is automatically used for the transaction.
void setTightlyCoupledTransactionsEnabled(boolean isClusterwideRecoveryEnabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the TightlyCoupledTransactionsEnabled attribute.
isClusterwideRecoveryEnabled
- The new isTightlyCoupledTransactionsEnabled valuejavax.management.InvalidAttributeValueException
DistributedManagementException
isTightlyCoupledTransactionsEnabled()
java.lang.String[] getDeterminers()
Select a transaction resource (determiner) from the list of resources. For JMS, select WebLogic JMS as the determiner. When a determiner is configured, the determiner's in-doubt transaction records are used during transaction recovery.
DeterminerCandidateResourceInfoVBean[] getDeterminerCandidateResourceInfoList()
Returns a list of one or more transaction resources (determiners). A determiner's in-doubt transaction records are used during transaction recovery when a TLog is not present.
void setDeterminers(java.lang.String[] names) throws javax.management.InvalidAttributeValueException
Sets the value of the Determiners attribute.
names
- The new determiners valuejavax.management.InvalidAttributeValueException
getDeterminers()
boolean isTLOGWriteWhenDeterminerExistsEnabled()
Indicates two-phase transaction recovery logs are written even if one or more determiners are configured.
void setTLOGWriteWhenDeterminerExistsEnabled(boolean isTLOGWriteWhenDeterminerExistsEnabled) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the TLOGWriteWhenDeterminerExistsEnabled attribute.
isTLOGWriteWhenDeterminerExistsEnabled
- The new isTLOGWriteWhenDeterminerExistsEnabled valuejavax.management.InvalidAttributeValueException
DistributedManagementException
isTLOGWriteWhenDeterminerExistsEnabled()
int getShutdownGracePeriod()
Indicates how long the server should wait for active transactions to complete before allowing shutdown.
void setShutdownGracePeriod(int shutdownGracePeriod) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the shutdownGracePeriod attribute.
shutdownGracePeriod
- The new shutdownGracePeriod valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getShutdownGracePeriod()
int getMaxRetrySecondsBeforeDeterminerFail()
The maximum amount of time, in seconds, WebLogic Server waits for the determiner to recover from a failure. If the determiner does not recover after this period, WebLogic Server sets the TLog health state to HEALTH_FAILED.
void setMaxRetrySecondsBeforeDeterminerFail(int maxRetrySecondsBeforeDeterminerFail) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxRetrySecondsBeforeDeterminerFail attribute.
maxRetrySecondsBeforeDeterminerFail
- The new maxRetrySecondsBeforeDeterminerFail valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getMaxRetrySecondsBeforeDeterminerFail()
@Deprecated java.lang.String getRecoverySiteName()
The name of the site whose transactions this site/domain will recover in the event that intra-cluster transaction service migration is not successful or efficient.
@Deprecated void setRecoverySiteName(java.lang.String recoverySiteName) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the RecoverySiteName attribute.
recoverySiteName
- The new recoverySiteName valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getRecoverySiteName()
@Deprecated int getCrossSiteRecoveryRetryInterval()
The interval at which a lease for a given server in a recovery domain will be checked for takeover eligibility.
@Deprecated void setCrossSiteRecoveryRetryInterval(int crossSiteRecoveryRetryInterval) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the CrossSiteRecoveryRetryInterval attribute.
crossSiteRecoveryRetryInterval
- The new crossSiteRecoveryRetryInterval valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getCrossSiteRecoveryRetryInterval()
@Deprecated int getCrossSiteRecoveryLeaseExpiration()
The time in seconds after which a lease expires making it eligible for recovery by another site.
@Deprecated void setCrossSiteRecoveryLeaseExpiration(int crossSiteRecoveryLeaseExpiration) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the CrossSiteRecoveryLeaseExpiration attribute.
crossSiteRecoveryLeaseExpiration
- The new crossSiteRecoveryLeaseExpiration valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getCrossSiteRecoveryLeaseExpiration()
@Deprecated int getCrossSiteRecoveryLeaseUpdate()
The time in seconds in which to update a lease timestamp.
@Deprecated void setCrossSiteRecoveryLeaseUpdate(int crossSiteRecoveryLeaseUpdate) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the CrossSiteRecoveryLeaseUpdate attribute.
crossSiteRecoveryLeaseUpdate
- The new crossSiteRecoveryLeaseUpdate valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getCrossSiteRecoveryLeaseUpdate()
boolean isLocalDomainSecurityEnabled()
Returns whether Local Domain Security is enabled.
When enabled, the transaction coordinator makes intra-domain calls using an identity from the credential mapper where remoteHost equals the local domain name and protocol is cross-domain-protocol. When disabled, the subject used for intra-domain communication is determined by the Security Interop Mode setting.
getSecurityInteropMode()
void setLocalDomainSecurityEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
Specifies whether to enable Local Domain Security.
enabled
- The new local domain security enabled valuejavax.management.InvalidAttributeValueException
isLocalDomainSecurityEnabled()
boolean isLocalDomainSecurityCacheEnabled()
Returns whether the Local Domain Security subject cache is enabled.
void setLocalDomainSecurityCacheEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
Specifies whether to enable the Local Domain Security subject cache.
enabled
- The new local domain security cache valuejavax.management.InvalidAttributeValueException
isLocalDomainSecurityCacheEnabled()
int getLocalDomainSecurityCacheTTL()
Returns the time-to-live (TTL), in seconds, of the Local Domain Security
subject cache. This value is used only if
LocalDomainSecurityCacheEnabled
is set to true
.
void setLocalDomainSecurityCacheTTL(int seconds) throws javax.management.InvalidAttributeValueException
Specifies the time-to-live (TTL), in seconds, of the Local Domain Security subject cache.
seconds
- The Local Domain Security subject cache TTL in secondsjavax.management.InvalidAttributeValueException
getLocalDomainSecurityCacheTTL()