public class JpaTransactionGovernance extends Object implements Governance<javax.persistence.EntityTransaction,None>
Governance
for JPA transaction.Constructor and Description |
---|
JpaTransactionGovernance() |
Modifier and Type | Method and Description |
---|---|
void |
disregardGovernance(GovernanceContext<None> context)
Disregard
Governance of the ManagedObject instances. |
void |
enforceGovernance(GovernanceContext<None> context)
|
void |
governManagedObject(javax.persistence.EntityTransaction extensionInterface,
GovernanceContext<None> context)
Registers the
ManagedObject for Governance . |
public void governManagedObject(javax.persistence.EntityTransaction extensionInterface, GovernanceContext<None> context) throws Throwable
Governance
ManagedObject
for Governance
.governManagedObject
in interface Governance<javax.persistence.EntityTransaction,None>
extensionInterface
- Extension interface of the ManagedObject
.context
- GovernanceContext
.Throwable
- If fails to govern the ManagedObject
.public void enforceGovernance(GovernanceContext<None> context) throws Throwable
Governance
enforceGovernance
in interface Governance<javax.persistence.EntityTransaction,None>
context
- GovernanceContext
.Throwable
- If fails to enforce Governance
.public void disregardGovernance(GovernanceContext<None> context) throws Throwable
Governance
Governance
of the ManagedObject
instances.disregardGovernance
in interface Governance<javax.persistence.EntityTransaction,None>
context
- GovernanceContext
.Throwable
- If fails to disregard Governance
.Copyright © 2005–2016. All rights reserved.