|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JTAMigratableTargetMBean
The target that is used internally to register the JTA recovery manager to the Migration Manager.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX."
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 |
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.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
void setUserPreferredServer(ServerMBean userPreferredServer)
setUserPreferredServer
in interface MigratableTargetMBean
userPreferredServer
- The new userPreferredServer valueString getMigrationPolicy()
MigratableTargetMBean
Defines 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.
Note 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.
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.
getMigrationPolicy
in interface MigratableTargetMBean
MigratableTargetMBean.getMigrationPolicy()
void setMigrationPolicy(String migrationPolicyName)
MigratableTargetMBean
setMigrationPolicy
in interface MigratableTargetMBean
migrationPolicyName
- the name of the auto migration policy chosen for this targetJTAMigratableTargetMBean.getMigrationPolicy()
,
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
|
Copyright 1996, 2010, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |