Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.configuration
Interface JTAMigratableTargetMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, MigratableTargetMBean, NotificationBroadcaster, SettableBean, SingletonServiceBaseMBean, TargetMBean, WebLogicMBean

public interface JTAMigratableTargetMBean
extends MigratableTargetMBean

The target that is used internally to register the JTA recovery manager to the Migration Manager.

See Also:
MigratableTargetMBean

Field Summary
 
Fields inherited from interface weblogic.management.configuration.MigratableTargetMBean
DEFAULT_MIGRATABLETARGET_SUFFIX, EXACTLY_ONCE, FAILURE_RECOVERY, NONE
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getMigrationPolicy()
          Defines the type of migration policy to use for the services hosted by this migratable target.
 boolean isStrictOwnershipCheck()
          Whether continue to boot if cannot find the current owner of TRS to do failback.
 void setMigrationPolicy(String migrationPolicyName)
          Sets the value of the MigrationPolicy attribute.
 void setStrictOwnershipCheck(boolean strict)
           
 void setUserPreferredServer(ServerMBean userPreferredServer)
           
 
Methods inherited from interface weblogic.management.configuration.MigratableTargetMBean
addConstrainedCandidateServer, getAllCandidateServers, getCluster, getConstrainedCandidateServers, getNumberOfRestartAttempts, getPostScript, getPreScript, getRestartOnFailure, getSecondsBetweenRestarts, isNonLocalPostAllowed, isPostScriptFailureFatal, removeConstrainedCandidateServer, setAllCandidateServers, setCluster, setConstrainedCandidateServers, setNonLocalPostAllowed, setNumberOfRestartAttempts, setPostScript, setPostScriptFailureFatal, setPreScript, setRestartOnFailure, setSecondsBetweenRestarts
 
Methods inherited from interface weblogic.management.configuration.SingletonServiceBaseMBean
getAdditionalMigrationAttempts, getHostingServer, getMillisToSleepBetweenAttempts, getUserPreferredServer, setAdditionalMigrationAttempts, setMillisToSleepBetweenAttempts
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Method Detail

setUserPreferredServer

void setUserPreferredServer(ServerMBean userPreferredServer)
Specified by:
setUserPreferredServer in interface MigratableTargetMBean
Specified by:
setUserPreferredServer in interface SingletonServiceBaseMBean
Parameters:
userPreferredServer - The new userPreferredServer value

getMigrationPolicy

String getMigrationPolicy()
Description copied from interface: MigratableTargetMBean

Defines the type of migration policy to use for the services hosted by this migratable target. Valid options are:

Specified by:
getMigrationPolicy in interface MigratableTargetMBean
Returns:
MigrationPolicy, the name of the auto migration policy chosen for this target
See Also:
MigratableTargetMBean.getMigrationPolicy()
Default Value:
MigratableTargetMBean.NONE
Valid Values:
MigratableTargetMBean.NONE, MigratableTargetMBean.FAILURE_RECOVERY

setMigrationPolicy

void setMigrationPolicy(String migrationPolicyName)
Description copied from interface: MigratableTargetMBean
Sets the value of the MigrationPolicy attribute.

Specified by:
setMigrationPolicy in interface MigratableTargetMBean
Parameters:
migrationPolicyName - the name of the auto migration policy chosen for this target
See Also:
JTAMigratableTargetMBean.getMigrationPolicy(), MigratableTargetMBean.setMigrationPolicy(java.lang.String)
Default Value:
MigratableTargetMBean.NONE
Valid Values:
MigratableTargetMBean.NONE, MigratableTargetMBean.FAILURE_RECOVERY

isStrictOwnershipCheck

boolean isStrictOwnershipCheck()

Whether continue to boot if cannot find the current owner of TRS to do failback. This attribute is only meaningful for servers in cluster.

If true: server will fail to boot under this situation.

If false: server will continue to boot without trying to do failback.

Returns:
true or false
Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setStrictOwnershipCheck

void setStrictOwnershipCheck(boolean strict)
Parameters:
strict - whether need to enforce strict ownership check

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02