BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Interface MigratableServiceCoordinatorRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface MigratableServiceCoordinatorRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

Deprecation of MBeanHome and Type-Safe Interfaces

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" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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
 

Method Detail

migrate

public 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.

Parameters:
migratableTarget - - all services targeted to this target are to be migrated to the destination server. THIS MUST BE A CONFIG MBEAN
destination - - the new server where the services deployed to migratableTarget shall be activated
Throws:
MigrationException

migrate

public 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.

Parameters:
migratableTarget - - all services targeted to this target are to be migrated to the destination server. THIS MUST BE A CONFIG MBEAN
destination - - the new server where the services deployed to migratableTarget shall be activated
sourceUp - - 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.
Throws:
MigrationException

migrateJTA

public void migrateJTA(MigratableTargetMBean migratableTarget,
                       ServerMBean destination,
                       boolean sourceUp,
                       boolean destinationUp)
                throws MigrationException

Migrates the JTARecoveryManager deployed to a migratableTarget to the destination server.

Parameters:
migratableTarget -
destination -
sourceUp -
destinationUp -
Throws:
MigrationException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.