Websphere MQ Everyplace

examples.migration
Class Migrator

java.lang.Object
  |
  +--examples.migration.Migrator
All Implemented Interfaces:
MQeDiskImageValidationReporter

public class Migrator
extends java.lang.Object
implements MQeDiskImageValidationReporter

The Migrator class illustrates the implementation of a simple migration tool. The arguments required to run this class are:
1st argument should be the queue manager name to be migrated
2nd argument should be the base directory of the registry for that queue manager. For instance if you have a queue manager name of queueManager1 and you have used the default name for the registry directory, the directory required will be queueManager1\Registry


Field Summary
static short[] version
           
 
Constructor Summary
Migrator()
           
 
Method Summary
static void main(java.lang.String[] args)
          Starts the Migrator application.
 void validationError(java.lang.String txt)
          Method to report errors in a common format.
 void validationInformation(java.lang.String txt)
          Method to report information in a common format.
 void validationWarning(java.lang.String txt)
          Method to report warnings in a common format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static short[] version
Constructor Detail

Migrator

public Migrator()
Method Detail

main

public static void main(java.lang.String[] args)
Starts the Migrator application.

Parameters:
args - an array of command-line arguments

validationError

public void validationError(java.lang.String txt)
Method to report errors in a common format. Implemented here to satisfy MQeRegistryValidationReporter interface.

Specified by:
validationError in interface MQeDiskImageValidationReporter
Parameters:
txt - A String.
Returns:
void

validationInformation

public void validationInformation(java.lang.String txt)
Method to report information in a common format. Implemented here to satisfy MQeRegistryValidationReporter interface.

Specified by:
validationInformation in interface MQeDiskImageValidationReporter
Parameters:
txt - A String.
Returns:
void

validationWarning

public void validationWarning(java.lang.String txt)
Method to report warnings in a common format. Implemented here to satisfy MQeRegistryValidationReporter interface.

Specified by:
validationWarning in interface MQeDiskImageValidationReporter
Parameters:
txt - A String.
Returns:
void

Websphere MQ Everyplace