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

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

public class MessageImporter
extends java.lang.Object
implements Import


Constructor Summary
MessageImporter(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

MessageImporter

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

importCollection

public void importCollection(java.util.Iterator iterator)
                      throws 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:
java.sql.SQLException - if a database exception is encountered


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