public class SingletonRegistry extends AppServiceBase<SingletonRegistry>
provides service for app to get singleton instance by type
Destroyable.Util
logger
Modifier and Type | Method and Description |
---|---|
void |
register(java.lang.Class singletonClass,
java.lang.Object singleton) |
protected void |
releaseResources() |
app, onAppStart, onAppStartAsync
app, me
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed, scope
public 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.