Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.

Since:
7.0.0.0
See Also:
MigratableTargetMBean

Field Summary

 

Fields inherited from interface weblogic.management.configuration.MigratableTargetMBean
DEFAULT_MIGRATABLETARGET_SUFFIX, EXACTLY_ONCE, FAILURE_RECOVERY, NONE, SHUTDOWN_RECOVERY

 

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
abstract  String getMigrationPolicy()
          Defines the type of migration policy to use for the services hosted by this migratable target.
abstract  boolean isStrictOwnershipCheck()
          Whether continue to boot if cannot find the current owner of TRS to do failback.
abstract  void setMigrationPolicy(String migrationPolicyName)
          Sets the value of the MigrationPolicy attribute.
abstract  void setStrictOwnershipCheck(boolean strict)
           
abstract  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()

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)

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

setStrictOwnershipCheck

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09