|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.tools.migration.Importer
public class Importer
Imports data from a proxy database into a master.
Exporter
Constructor Summary | |
---|---|
Importer(org.exolab.jms.config.Configuration config,
java.lang.String database,
boolean delete)
Construct a new Importer . |
Method Summary | |
---|---|
void |
apply()
Import the data from the proxy database to the master 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 |
---|
public Importer(org.exolab.jms.config.Configuration config, java.lang.String database, boolean delete) throws org.exolab.jms.persistence.PersistenceException
Importer
.
config
- the configuration to usedatabase
- the database namedelete
- if true
, indicates to delete data in the
master database, if it exists
org.exolab.jms.persistence.PersistenceException
- for any persistence errorMethod Detail |
---|
public void apply() throws javax.jms.JMSException, org.exolab.jms.persistence.PersistenceException, org.exolab.jms.service.ServiceException
javax.jms.JMSException
- for any JMS error
org.exolab.jms.persistence.PersistenceException
- for any persistence error
org.exolab.jms.service.ServiceException
- for any service errorpublic static void main(java.lang.String[] args)
args
- command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |