|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.service.idgen.AbstractSequentialIdGenerator
atg.service.idgen.TransientIdGenerator
public class TransientIdGenerator
Service that generates sequential ids as either Strings or longs. The generated ids are transient, meaning that they are not suitable for use as ids of persistent objects.
This class does not make use of the batchSize
or
lastSeed
properties of IdSpace.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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 | |
---|---|
TransientIdGenerator()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Main routine for debugging and unit testing. |
Methods inherited from class atg.service.idgen.AbstractSequentialIdGenerator |
---|
addIdSpace, doStartService, format, format, format, format, generateLongId, generateLongId, generateStringId, generateStringId, getAutoCreate, getBundle, getDefaultIdSpace, getDefaultIdSpaceName, getIdSpace, getIdSpaces, getResourceBundleName, initialize, isAutoCreate, postGenerateLongId, postGenerateStringId, removeAllIdSpaces, removeIdSpace, setAutoCreate, setDefaultIdSpace, setDefaultIdSpaceName, setHighWaterMark, toString |
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.IdGenerator |
---|
addIdSpace, generateLongId, generateLongId, generateStringId, generateStringId, getAutoCreate, getDefaultIdSpace, getIdSpace, getIdSpaces, initialize, isAutoCreate, removeAllIdSpaces, removeIdSpace, setAutoCreate |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TransientIdGenerator()
Method Detail |
---|
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |