org.exolab.jms.tools.migration
Class Exporter

java.lang.Object
  |
  +--org.exolab.jms.tools.migration.Exporter

public class Exporter
extends java.lang.Object

Exports data from a master database into a proxy.

Version:
$Revision: 1.3 $ $Date: 2005/11/12 12:47:37 $
Author:
Tim Anderson
See Also:
Importer

Constructor Summary
Exporter(org.exolab.jms.config.Configuration config, java.lang.String database, boolean delete)
          Construct a new Exporter.
 
Method Summary
 void apply()
          Export the data from the master database to the migration database.
static void main(java.lang.String[] args)
          Main line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exporter

public Exporter(org.exolab.jms.config.Configuration config,
                java.lang.String database,
                boolean delete)
         throws org.exolab.jms.persistence.PersistenceException
Construct a new Exporter.
Parameters:
config - the configuration to use
database - the database name
delete - if true, indicates to delete data in the migration database, if it exists
Method Detail

apply

public void apply()
           throws javax.jms.JMSException,
                  org.exolab.jms.persistence.PersistenceException,
                  org.exolab.jms.service.ServiceException
Export the data from the master database to the migration database.
Throws:
javax.jms.JMSException -  
org.exolab.jms.persistence.PersistenceException - for any persistence error
org.exolab.jms.service.ServiceException - for any service error

main

public static void main(java.lang.String[] args)
Main line.
Parameters:
args - command line arguments


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.