public abstract class SingletonBase extends DestroyableBase
Application could extend this class to create singleton classes.
Note, the sub type must NOT be abstract and has public constructor
Destroyable.Util
logger
Constructor and Description |
---|
SingletonBase() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
instance()
Returns the singleton instance of the sub type
|
addSubResource, destroy, isDestroyed, releaseResources, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
Copyright © 2014–2017 ActFramework. All rights reserved.