Websphere MQ Everyplace

examples.install
Class SimpleDeleteQM

java.lang.Object
  |
  +--examples.install.SimpleDeleteQM
Direct Known Subclasses:
DeleteQueueManager

public class SimpleDeleteQM
extends java.lang.Object


Field Summary
static short[] version
           
 
Constructor Summary
SimpleDeleteQM()
          SimpleDeleteQM constructor.
 
Method Summary
 boolean deleteConfiguration(java.lang.String filename, boolean deleteFlag)
          This does most of the work: validate the configuration file, check for confirmation, then delete the Queue Manager and Queue definitions and optionally delete the configuration file.
static void main(java.lang.String[] args)
          Start the application.
 
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

SimpleDeleteQM

public SimpleDeleteQM()
SimpleDeleteQM constructor.

Method Detail

deleteConfiguration

public boolean deleteConfiguration(java.lang.String filename,
                                   boolean deleteFlag)
                            throws java.lang.Exception
This does most of the work: validate the configuration file, check for confirmation, then delete the Queue Manager and Queue definitions and optionally delete the configuration file.

Parameters:
filename - Name of the configuration (.ini) file.
deleteFlag - If true, delete the configuration file.
Returns:
'true' if successful, 'false' if it didn't complete
Throws:
java.lang.exception - Thrown on error
java.lang.Exception

main

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


Websphere MQ Everyplace