Interface Governance<E,F extends Enum<F>>
- All Known Implementing Classes:
ClassGovernance,SpringDataTransactionGovernance,SpringDataTransactionGovernance
public interface Governance<E,F extends Enum<F>>
Provides Governance over the ManagedObject instances.
The extension interface of the ManagedObject is used to provide the
Governance.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisregardGovernance(GovernanceContext<F> context) DisregardGovernanceof theManagedObjectinstances.voidenforceGovernance(GovernanceContext<F> context) voidgovernManagedObject(E managedObjectExtension, GovernanceContext<F> context) Registers theManagedObjectforGovernance.
-
Method Details
-
governManagedObject
Registers theManagedObjectforGovernance.- Parameters:
managedObjectExtension- Extension of theManagedObjectto enableGovernance.context-GovernanceContext.- Throws:
Throwable- If fails to govern theManagedObject.
-
enforceGovernance
- Parameters:
context-GovernanceContext.- Throws:
Throwable- If fails to enforceGovernance.
-
disregardGovernance
DisregardGovernanceof theManagedObjectinstances.- Parameters:
context-GovernanceContext.- Throws:
Throwable- If fails to disregardGovernance.
-