public interface Governance<I,F extends Enum<F>>
Provides Governance
over the ManagedObject
instances.
The extension interface of the ManagedObject
is used to provide the
Governance
.
Modifier and Type | Method and Description |
---|---|
void |
disregardGovernance(GovernanceContext<F> context)
Disregard
Governance of the ManagedObject instances. |
void |
enforceGovernance(GovernanceContext<F> context)
|
void |
governManagedObject(I extensionInterface,
GovernanceContext<F> context)
Registers the
ManagedObject for Governance . |
void governManagedObject(I extensionInterface, GovernanceContext<F> context) throws Throwable
ManagedObject
for Governance
.extensionInterface
- Extension interface of the ManagedObject
.context
- GovernanceContext
.Throwable
- If fails to govern the ManagedObject
.void enforceGovernance(GovernanceContext<F> context) throws Throwable
context
- GovernanceContext
.Throwable
- If fails to enforce Governance
.void disregardGovernance(GovernanceContext<F> context) throws Throwable
Governance
of the ManagedObject
instances.context
- GovernanceContext
.Throwable
- If fails to disregard Governance
.Copyright © 2005–2016. All rights reserved.