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.Utillogger| 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, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnCopyright © 2014–2017 ActFramework. All rights reserved.