ComponentAbstractBeanFactory, AbstractSessionDataStore, AbstractSessionHandler, AspectranActivityContext, AspectRuleRegistry, ContextTemplateProcessor, ScheduleRuleRegistry, TemplateRuleRegistry, TransletRuleRegistrypublic abstract class AbstractComponent extends java.lang.Object implements Component
Created: 2017. 7. 4.
| Constructor | Description |
|---|---|
AbstractComponent() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Destroy the component.
|
protected abstract void |
doDestroy() |
|
protected abstract void |
doInitialize() |
|
java.lang.String |
getComponentName() |
Returns the component name.
|
void |
initialize() |
Initialize the component.
|
boolean |
isAvailable() |
Returns whether the component is currently available.
|
boolean |
isDestroyed() |
Returns whether or not the component has been destroyed.
|
boolean |
isInitialized() |
Returns whether or not the component has been initialized.
|
protected abstract void doInitialize()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void doDestroy()
throws java.lang.Exception
java.lang.Exceptionpublic void initialize()
throws java.lang.Exception
Componentinitialize in interface Componentjava.lang.Exception - if the component fails to initializepublic void destroy()
Componentpublic boolean isAvailable()
ComponentisAvailable in interface Componentpublic boolean isInitialized()
ComponentisInitialized in interface Componentpublic boolean isDestroyed()
ComponentisDestroyed in interface Componentpublic java.lang.String getComponentName()
ComponentgetComponentName in interface ComponentCopyright © 2008–2018 The Aspectran Project. All rights reserved.