|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Component
public abstract class Component
This class is the abstract supclass of all Components. A component is simply a way of grouping entry points together. It isn't required that all components extend this class, but it does save implementation effort.
| Constructor Summary | |
|---|---|
Component()
|
|
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Default component implementation of the getConfiguration method. |
java.lang.String |
getConfigurationNamespace()
Default component implementation of the getConfigurationNamespace method. |
abstract Core |
getCore()
Fetch the entry point's instance of the core. |
abstract Version |
getVersion()
Return the version details of this component. |
VersionEffectiveDate |
getVersionEffectiveDate()
A default component implemention returning the time now. |
void |
resetConfiguration()
Default component implementation of the resetConfiguration method. |
void |
setConfiguration(Configuration configuration)
Default component implementation of the setConfiguration method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Component()
| Method Detail |
|---|
public abstract Version getVersion()
public VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUserpublic abstract Core getCore()
public void setConfiguration(Configuration configuration)
setConfiguration in interface ConfigurationOwnerconfiguration - The configuration to save.public Configuration getConfiguration()
getConfiguration in interface ConfigurationOwnerpublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUserpublic void resetConfiguration()
Note: If the component's name ends with 'Bean' - as EJB based ones do, the 'Bean' postfix is removed (RedBean -> Red).
resetConfiguration in interface ConfigurationOwner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||