public abstract class AbstractInitializableComponent extends Object implements DestructableComponent, InitializableComponent
DestructableComponent and InitializableComponent.| Modifier and Type | Field and Description |
|---|---|
private boolean |
isDestroyed
Whether this component has been destroyed.
|
private boolean |
isInitialized
Whether this component has been initialized.
|
| Constructor and Description |
|---|
AbstractInitializableComponent() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
private boolean isDestroyed
private boolean isInitialized
public final boolean isDestroyed()
isDestroyed in interface DestructableComponentpublic boolean isInitialized()
isInitialized in interface InitializableComponentpublic final void destroy()
destroy in interface DestructableComponentpublic 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 componentCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.