|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GovernanceSource<I,F extends Enum<F>>
Source to obtain the Governance.
| Method Summary | |
|---|---|
GovernanceSourceMetaData<I,F> |
getMetaData()
Obtains the meta-data to describe this. |
GovernanceSourceSpecification |
getSpecification()
Obtains the specification for this. |
void |
init(GovernanceSourceContext context)
Called only once after the GovernanceSource is instantiated. |
| Method Detail |
|---|
GovernanceSourceSpecification getSpecification()
Obtains the specification for this.
This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.
void init(GovernanceSourceContext context)
throws Exception
GovernanceSource is instantiated.
context - GovernanceSourceContext to initialise this instance of
the GovernanceSource.
Exception - Should the GovernanceSource fail to configure itself
from the input properties.GovernanceSourceMetaData<I,F> getMetaData()
Obtains the meta-data to describe this.
This is called after the init(GovernanceSourceContext) method
and therefore may use the configuration.
This should always return non-null. If there is a problem due to
incorrect configuration, the init(GovernanceSourceContext)
method should indicate this via an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||