atg.service.idgen
Interface InitializingIdGenerator

All Known Implementing Classes:
InitializingObfuscatedSQLIdGenerator, InitializingSQLIdGenerator

public interface InitializingIdGenerator

This is a helper interface implemented by InitializingIdGenerators. It allows the IdGeneratorInitializer to "callback" and get the SQL statement required to initialize a given IdGenerator.

Author:
adamb

Method Summary
 java.lang.String getCreateStatement()
          Returns the create table statement required for this IdGenerator.
 javax.sql.DataSource getDataSource()
          Returns the data source used by this IdGenerator
 java.lang.String getTableName()
          Returns the drop table statement for this IdGenerator
 

Method Detail

getCreateStatement

java.lang.String getCreateStatement()
Returns the create table statement required for this IdGenerator.


getTableName

java.lang.String getTableName()
Returns the drop table statement for this IdGenerator


getDataSource

javax.sql.DataSource getDataSource()
Returns the data source used by this IdGenerator



Copyright © 2009. All Rights Reserved.