Interface GovernanceSource<I,F extends java.lang.Enum<F>>
-
- All Known Implementing Classes:
AbstractGovernanceSource,ClassGovernanceSource,SpringDataTransactionGovernanceSource
public interface GovernanceSource<I,F extends java.lang.Enum<F>>Source to obtain theGovernance.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GovernanceSourceSpecificationgetSpecification()Obtains the specification for this.GovernanceSourceMetaData<I,F>init(GovernanceSourceContext context)Initialises theGovernanceSource.
-
-
-
Method Detail
-
getSpecification
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.
- Returns:
- Specification of this.
-
init
GovernanceSourceMetaData<I,F> init(GovernanceSourceContext context) throws java.lang.Exception
Initialises theGovernanceSource.- Parameters:
context-GovernanceSourceContextto initialise this instance of theGovernanceSource.- Returns:
- Meta-data to describe this.
- Throws:
java.lang.Exception- Should theGovernanceSourcefail to configure itself from the input properties.
-
-