org.exolab.jms.tools.migration.master
Class ConsumerImporter

java.lang.Object
  |
  +--org.exolab.jms.tools.migration.master.ConsumerImporter
All Implemented Interfaces:
Import

public class ConsumerImporter
extends java.lang.Object
implements Import


Constructor Summary
ConsumerImporter(java.sql.Connection connection)
           
 
Method Summary
 void importCollection(java.util.Iterator iterator)
          Import each element from a collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerImporter

public ConsumerImporter(java.sql.Connection connection)
Method Detail

importCollection

public void importCollection(java.util.Iterator iterator)
                      throws javax.jms.JMSException,
                             java.sql.SQLException
Import each element from a collection
Specified by:
importCollection in interface Import
Parameters:
iterator - iterator over the collection to import data from
Throws:
javax.jms.JMSException - if a JMS exception is encountered
java.sql.SQLException - if an SQL exception is encountered


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