atg.service.idgen
Class IdGeneratorInitializer

java.lang.Object
  extended by atg.service.idgen.IdGeneratorInitializer

public class IdGeneratorInitializer
extends java.lang.Object


Field Summary
 java.util.Map<javax.sql.DataSource,java.sql.DatabaseMetaData> mMetaDataMap
           
 
Constructor Summary
IdGeneratorInitializer(InitializingIdGenerator pGenerator)
          Creates a new IdGeneratorInitializer used for the given generator, pGenerator.
 
Method Summary
 void initialize()
          Creates a new schema for the current generator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mMetaDataMap

public java.util.Map<javax.sql.DataSource,java.sql.DatabaseMetaData> mMetaDataMap
Constructor Detail

IdGeneratorInitializer

public IdGeneratorInitializer(InitializingIdGenerator pGenerator)
Creates a new IdGeneratorInitializer used for the given generator, pGenerator.

Parameters:
pGenerator -
Method Detail

initialize

public void initialize()
                throws java.sql.SQLException
Creates a new schema for the current generator. If the schema exists, it's dropped and a new one is created.

Throws:
java.sql.SQLException


Copyright © 2009. All Rights Reserved.