public class TransactionEventImpl extends Object implements TransactionEvent
TransactionEvent
interface.Modifier and Type | Field and Description |
---|---|
private TransactionContext |
context |
private TransactionEventType |
type |
Constructor and Description |
---|
TransactionEventImpl(TransactionEventType type,
TransactionContext context)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
TransactionContext |
getContext()
This method gets the
TransactionContext associated with the
transaction that caused this event. |
TransactionEventType |
getType()
This method gets the type of this event.
|
private final TransactionEventType type
getType()
private final TransactionContext context
getContext()
public TransactionEventImpl(TransactionEventType type, TransactionContext context)
public TransactionContext getContext()
TransactionContext
associated with the
transaction that caused this event.getContext
in interface TransactionEvent
TransactionContext
.public TransactionEventType getType()
getType
in interface TransactionEvent
Copyright © 2001–2016 mmm-Team. All rights reserved.