public class WorkSynchronization extends Object implements Synchronization
Constructor and Description |
---|
WorkSynchronization(Transaction current) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status)
A null-op.
|
void |
beforeCompletion()
If the current transaction still has work associated with it, then we need to
throw an exception.
|
public WorkSynchronization(Transaction current)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
Copyright © 2021 JBoss by Red Hat. All rights reserved.