|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
public abstract class AbstractDestructableInitializableComponent
Base class for things that implement DestructableComponent and InitializableComponent.
| Field Summary | |
|---|---|
private boolean |
isDestroyed
Whether this component has been destroyed. |
private boolean |
isInitialized
Whether this component has been initialized. |
| Constructor Summary | |
|---|---|
AbstractDestructableInitializableComponent()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroys the component. |
protected void |
doDestroy()
Performs component specific destruction logic. |
protected void |
doInitialize()
Performs the initialization of the component. |
void |
initialize()
Initializes the component. |
boolean |
isDestroyed()
Gets whether this component has been destroyed. |
boolean |
isInitialized()
Gets whether this component is initialized. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private boolean isDestroyed
private boolean isInitialized
| Constructor Detail |
|---|
public AbstractDestructableInitializableComponent()
| Method Detail |
|---|
public final boolean isDestroyed()
isDestroyed in interface DestructableComponentpublic boolean isInitialized()
isInitialized in interface InitializableComponentpublic final void destroy()
destroy in interface DestructableComponent
public final void initialize()
throws ComponentInitializationException
initialize in interface InitializableComponentComponentInitializationException - thrown if there is a problem initializing the componentprotected void doDestroy()
protected void doInitialize()
throws ComponentInitializationException
ComponentInitializationException - thrown if there is a problem initializing the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||