public class TransactionEventManager extends AbstractConcurrentEventManager
_listeners
Constructor and Description |
---|
TransactionEventManager() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Object listener)
Register an event listener.
|
protected void |
fireEvent(Object event,
Object listener)
Fire the given event to all registered listeners.
|
boolean |
hasBeginListeners()
Whether there are any begin transaction listeners.
|
boolean |
hasEndListeners()
Whether there are any end transaction listeners.
|
boolean |
hasFlushListeners()
Whether there are any flush transaction listeners.
|
boolean |
removeListener(Object listener)
Remove an event listener.
|
fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, setFailFast
public void addListener(Object listener)
AbstractConcurrentEventManager
addListener
in interface EventManager
addListener
in class AbstractConcurrentEventManager
public boolean removeListener(Object listener)
AbstractConcurrentEventManager
removeListener
in interface EventManager
removeListener
in class AbstractConcurrentEventManager
public boolean hasBeginListeners()
public boolean hasFlushListeners()
public boolean hasEndListeners()
protected void fireEvent(Object event, Object listener)
fireEvent
in class AbstractConcurrentEventManager
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.