|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MigratableServiceCoordinatorRuntimeMBean
This class is used for monitoring the Migratable Service Coordinator.
Method Summary | |
---|---|
void |
migrate(MigratableTargetMBean migratableTarget,
ServerMBean destination)
Migrates all services deployed to the migratableTarget to the destination server. |
void |
migrate(MigratableTargetMBean migratableTarget,
ServerMBean destination,
boolean sourceUp,
boolean destinationUp)
Migrates all services deployed to the migratableTarget to the destination server. |
void |
migrateJTA(MigratableTargetMBean migratableTarget,
ServerMBean destination,
boolean sourceUp,
boolean destinationUp)
Migrates the JTARecoveryManager deployed to a migratableTarget to the destination server. |
void |
migrateSingleton(SingletonServiceMBean singletonService,
ServerMBean destination)
Migrates the singleton service specified by the SingletonServiceMBean to the destination server. |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, 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.cluster.singleton.MigratorInterface |
---|
migrate, migrate, migrateJTA |
Method Detail |
---|
void migrate(MigratableTargetMBean migratableTarget, ServerMBean destination) throws MigrationException
Migrates all services deployed to the migratableTarget to the destination server. This method assumes that the source and the destination server are up and running. Precondition: The migratableTarget must contain at least one server. The destination server must be a member of the migratableTarget's list of candidate servers. If automatic migration mode is disabled, the destination server must not be the currently hosting server (i.e. head of candidate list of the migratableTarget). Postcondition: If automatic migration mode is disabled and if the migration succeeded, the head of the candidate server list in the migratableTarget will be the destination server.
migratableTarget
- - all services targeted to this target are to be
migrated to the destination server. THIS MUST BE A CONFIG MBEANdestination
- - the new server where the services deployed to
migratableTarget shall be
activated
MigrationException
void migrateSingleton(SingletonServiceMBean singletonService, ServerMBean destination) throws MigrationException
Migrates the singleton service specified by the SingletonServiceMBean to the destination server. This method assumes that the source and the destination server are up and running. Precondition: The SingletonServiceMBean must contain at least one server. The destination server must be a member of the SingletonServiceMBean's list of candidate servers. If automatic migration mode is disabled, the destination server must not be the currently hosting server (i.e. head of candidate list of the migratableTarget). Postcondition: If automatic migration mode is disabled and if the migration succeeded, the head of the candidate server list in the migratableTarget will be the destination server.
singletonService
- - SingletonService to be migrated to the
destination server. THIS MUST BE A CONFIG MBEANdestination
- - the new server where the singleton service shall be
activated
MigrationException
void migrate(MigratableTargetMBean migratableTarget, ServerMBean destination, boolean sourceUp, boolean destinationUp) throws MigrationException
Migrates all services deployed to the migratableTarget to the destination server. Use this method if either the source or the destination or both are not running. Precondition: The migratableTarget must contain at least one server. The destination server must be a member of the migratableTarget's list of candidate servers. If automatic migration mode is disabled, the destination server must not be the currently hosting server (i.e. head of candidate list of the migratableTarget). Postcondition: If automatic migration mode is disabled and if the migration succeeded, the head of the candidate server list in the migratableTarget will be the destination server.
migratableTarget
- - all services targeted to this target are to be migrated to the destination server. THIS MUST BE A CONFIG MBEANdestination
- - the new server where the services deployed to migratableTarget shall be activatedsourceUp
- - the currently active server is up and running. If false, the administrator must ensure that the services deployed to migratableTarget are NOT active.destinationUp
- - the destination server is up and running.
MigrationException
void migrateJTA(MigratableTargetMBean migratableTarget, ServerMBean destination, boolean sourceUp, boolean destinationUp) throws MigrationException
Migrates the JTARecoveryManager deployed to a migratableTarget to the destination server.
migratableTarget
- destination
- sourceUp
- destinationUp
-
MigrationException
|
Copyright 1996, 2014, 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.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |