public abstract class DestroyableBase extends LogSupport implements Destroyable
Destroyable.Util
logger
Modifier | Constructor and Description |
---|---|
|
DestroyableBase() |
protected |
DestroyableBase(boolean noLogger) |
Modifier and Type | Method and Description |
---|---|
void |
addSubResource(Destroyable object) |
void |
destroy() |
boolean |
isDestroyed() |
protected void |
releaseResources() |
protected void |
reload()
Recover the destroy state.
|
Class<? extends Annotation> |
scope() |
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
public DestroyableBase()
protected DestroyableBase(boolean noLogger)
public final void destroy()
destroy
in interface Destroyable
public final boolean isDestroyed()
isDestroyed
in interface Destroyable
protected void reload()
Recover the destroy state. Use this API with cautious
protected void releaseResources()
public Class<? extends Annotation> scope()
scope
in interface Destroyable
public void addSubResource(Destroyable object)
Copyright © 2014–2018 ActFramework. All rights reserved.