public abstract class AppServiceBase<T extends AppServiceBase> extends AppHolderBase<T> implements AppService<T>
Destroyable.Util
DASHED_LINE, DOUBLE_DASHED_LINE, HASH_SYMBOL_LINE, logger, STAR_LINE, TILD_LINE
Modifier | Constructor and Description |
---|---|
protected |
AppServiceBase() |
protected |
AppServiceBase(App app) |
protected |
AppServiceBase(App app,
boolean noDiBinder) |
Modifier and Type | Method and Description |
---|---|
T |
app(App app) |
void |
onAppStart() |
void |
onAppStartAsync() |
protected abstract void |
releaseResources() |
app, me
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, logger, printCenter, printCenterWithLead, printDashedLine, printDoubleDashedLine, printHashSimbolLine, println, printStarLine, printTildLine, trace, trace, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed, scope
protected AppServiceBase()
protected AppServiceBase(App app)
protected AppServiceBase(App app, boolean noDiBinder)
public T app(App app)
app
in interface AppHolder<T extends AppServiceBase>
app
in class AppHolderBase<T extends AppServiceBase>
public void onAppStart()
public void onAppStartAsync()
protected abstract void releaseResources()
releaseResources
in class AppHolderBase<T extends AppServiceBase>
Copyright © 2014–2021 ActFramework. All rights reserved.