|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.service.idgen.AbstractSequentialIdGenerator atg.service.idgen.PersistentIdGenerator atg.service.idgen.SQLIdGenerator atg.service.idgen.ObfuscatedSQLIdGenerator atg.service.idgen.InitializingObfuscatedSQLIdGenerator
public class InitializingObfuscatedSQLIdGenerator
This IDGenerator is intended to be used by unit tests. It will manage it's own database schema rather than assuming the tables already exist. Otherwise it's the same functionality as the ObfuscatedSQLIdGenerator.
Field Summary | |
---|---|
static java.lang.String |
CREATE_STATEMENT
The SQL statement required to create the table used by this component. |
Fields inherited from class atg.service.idgen.ObfuscatedSQLIdGenerator |
---|
CLASS_VERSION, ERR_TOO_DENSE, MAX_DENSITY |
Fields inherited from class atg.service.idgen.SQLIdGenerator |
---|
ERR_HWM_BAD_STATE, ERR_HWM_FAIL, ERR_NULL_DS, ERR_QUERY_TABLE, ERR_RESERVE_BAD_STATE |
Fields inherited from class atg.service.idgen.PersistentIdGenerator |
---|
ERR_ADD_BAD_STATE, ERR_ADD_NULL_SPACE, ERR_READING_BOOTSTRAP_SPACES, STATE_ERROR, STATE_INITIALIZING, STATE_NEW, STATE_RUNNING, WARN_PICKING_DEFAULT |
Fields inherited from class atg.service.idgen.AbstractSequentialIdGenerator |
---|
ERR_BAD_SPACE, ERR_ROLLBACK, ERR_UNSUPPORTED, mSpaces, RESOURCE_BUNDLE_NAME, sResourceBundle |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
InitializingObfuscatedSQLIdGenerator()
|
Method Summary | |
---|---|
void |
doStartService()
Ensures that the required tables for this id generator exist. |
java.lang.String |
getCreateStatement()
Returns the create statement appropriate for the current database |
Methods inherited from class atg.service.idgen.ObfuscatedSQLIdGenerator |
---|
addIdSpace, addPersistentIdSpace, createNewDefaultIdSpace, getHexEncode, getIdsPerBatchColumn, getInsertSQL, getSelectSQL, getUpdateSQL, isHexEncode, reserveSeeds, setHexEncode, setIdsPerBatchColumn |
Methods inherited from class atg.service.idgen.SQLIdGenerator |
---|
getBatchSizeColumn, getDataSource, getNameColumn, getPrefixColumn, getSeedColumn, getSuffixColumn, getTableName, getUseRequiredTransactionMode, initializeIdSpaces, main, removePersistentIdSpaces, setBatchSizeColumn, setDataSource, setHighWaterMark, setNameColumn, setPrefixColumn, setSeedColumn, setSuffixColumn, setTableName, setUseRequiredTransactionMode |
Methods inherited from class atg.service.idgen.PersistentIdGenerator |
---|
getInitialIdSpaces, getLoadInitialIdSpacesAtStartup, getTransactionManager, getXMLToolsFactory, initialize, removeAllIdSpaces, removeIdSpace, setInitialIdSpaces, setLoadInitialIdSpacesAtStartup, setTransactionManager, setXMLToolsFactory |
Methods inherited from class atg.service.idgen.AbstractSequentialIdGenerator |
---|
format, format, format, format, generateLongId, generateLongId, generateStringId, generateStringId, getAutoCreate, getBundle, getDefaultIdSpace, getDefaultIdSpaceName, getIdSpace, getIdSpaces, getResourceBundleName, isAutoCreate, postGenerateLongId, postGenerateStringId, setAutoCreate, setDefaultIdSpace, setDefaultIdSpaceName, toString |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.service.idgen.InitializingIdGenerator |
---|
getDataSource, getTableName |
Methods inherited from interface atg.service.idgen.IdGenerator |
---|
generateLongId, generateLongId, generateStringId, generateStringId, getAutoCreate, getDefaultIdSpace, getIdSpace, getIdSpaces, isAutoCreate, setAutoCreate |
Field Detail |
---|
public static final java.lang.String CREATE_STATEMENT
Constructor Detail |
---|
public InitializingObfuscatedSQLIdGenerator()
Method Detail |
---|
public void doStartService() throws atg.nucleus.ServiceException
doStartService
in class atg.service.idgen.AbstractSequentialIdGenerator
atg.nucleus.ServiceException
public java.lang.String getCreateStatement()
getCreateStatement
in interface InitializingIdGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |