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