public class SingletonRegistry extends AppServiceBase<SingletonRegistry>
provides service for app to get singleton instance by type
Destroyable.Utillogger| Modifier and Type | Method and Description |
|---|---|
void |
register(java.lang.Class singletonClass,
java.lang.Object singleton) |
protected void |
releaseResources() |
app, onAppStart, onAppStartAsyncapp, meaddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyed, scopepublic void register(java.lang.Class singletonClass,
java.lang.Object singleton)
protected void releaseResources()
releaseResources in class AppServiceBase<SingletonRegistry>Copyright © 2014–2017 ActFramework. All rights reserved.