ConfigurationMBean, DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, MigratableTargetMBean, javax.management.NotificationBroadcaster, SettableBean, SingletonServiceBaseMBean, TargetMBean, WebLogicMBeanpublic interface JTAMigratableTargetMBean extends MigratableTargetMBean
MigratableTargetMBeanDEFAULT_EMPTY_BYTE_ARRAYDEFAULT_MIGRATABLETARGET_SUFFIX, EXACTLY_ONCE, FAILURE_RECOVERY, NONE, SHUTDOWN_RECOVERY| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.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(java.lang.String migrationPolicyName) | Sets the value of the MigrationPolicy attribute. | 
| void | setStrictOwnershipCheck(boolean strict) | |
| void | setUserPreferredServer(ServerMBean userPreferredServer) | 
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddConstrainedCandidateServer, getAllCandidateServers, getCluster, getConstrainedCandidateServers, getNumberOfRestartAttempts, getPostScript, getPreScript, getRestartOnFailure, getSecondsBetweenRestarts, isNonLocalPostAllowed, isPostScriptFailureFatal, removeConstrainedCandidateServer, setAllCandidateServers, setCluster, setConstrainedCandidateServers, setNonLocalPostAllowed, setNumberOfRestartAttempts, setPostScript, setPostScriptFailureFatal, setPreScript, setRestartOnFailure, setSecondsBetweenRestartsaddNotificationListener, getNotificationInfo, removeNotificationListenergetAdditionalMigrationAttempts, getHostingServer, getMillisToSleepBetweenAttempts, getUserPreferredServer, setAdditionalMigrationAttempts, setMillisToSleepBetweenAttemptsgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentvoid setUserPreferredServer(ServerMBean userPreferredServer)
setUserPreferredServer in interface MigratableTargetMBeansetUserPreferredServer in interface SingletonServiceBaseMBeanuserPreferredServer - The new userPreferredServer valuejava.lang.String getMigrationPolicy()
MigratableTargetMBeanDefines the type of migration policy to use for the services hosted by this migratable target. Valid options are:
Manual Service Migration Only Indicates that no automatic migration of services hosted by this 
 migratable target will occur.Auto-Migrate Exactly-Once Services Indicates that if at least one Managed Server in the candidate 
 server list is running, the services hosted by this migratable target will be active somewhere in the cluster 
 if servers should fail or are administratively shut down (either gracefully or forcibly).
 For example, it is a recommended best practice to use this policy when a migratable target hosts a path service, 
 so if its preferred server fails or is shut down, the path service will automatically migrate to another candidate  
 server, and so will always be active in the cluster. 
 Notes 
This value can lead to target grouping on a server member. For example, if you have five exactly-once 
 migratable targets and only one Managed Server is started in the cluster, then all five targets will be activated on 
 that server.
 
This policy does not apply for JTA service migration.
Auto-Migrate Failure-Recovery Services Indicates that the services hosted by this migratable target 
 will only start if the migratable target's User Preferred Server (UPS) is started. If an administrator manually shuts 
 down the UPS, either gracefully or forcibly, then a failure-recovery service will not migrate. However, if the UPS 
 fails due to an internal error, then the service will be migrated to another candidate server. If such a candidate 
 server is unavailable (due to either a manual shutdown or an internal failure), then the migration framework 
 will first attempt to reactivate the service on its UPS server. If the UPS server is not available at that time, 
 then the service will be migrated to another candidate server.Auto-Migrate Shutdown-Recovery Services Indicates that the services hosted by this migratable target
 will migrate to one of the candidate servers, if server is administratively shut down (either gracefully or forcibly).
 Once recovery is done, service is migrated back to failed server.getMigrationPolicy in interface MigratableTargetMBeanMigratableTargetMBean.getMigrationPolicy()void setMigrationPolicy(java.lang.String migrationPolicyName)
MigratableTargetMBeansetMigrationPolicy in interface MigratableTargetMBeanmigrationPolicyName - the name of the auto migration policy chosen for this targetgetMigrationPolicy(), 
MigratableTargetMBean.setMigrationPolicy(java.lang.String)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.
void setStrictOwnershipCheck(boolean strict)
strict - whether need to enforce strict ownership check