public abstract class AbstractRemoteCommitProvider extends Object implements RemoteCommitProvider, Configurable
RemoteCommitProvider. Obtains handles
to the event manager and log.| Modifier and Type | Field and Description |
|---|---|
protected RemoteCommitEventManager |
eventManager |
protected Log |
log |
| Constructor and Description |
|---|
AbstractRemoteCommitProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object.
|
protected void |
fireEvent(RemoteCommitEvent event)
Fire a remote commit event via the cached event manager.
|
void |
setConfiguration(Configuration config)
Invoked prior to setting bean properties.
|
void |
setRemoteCommitEventManager(RemoteCommitEventManager mgr)
Set the "owning" remote event manager to notify when remote events
are received from remote sources.
|
void |
startConfiguration()
Invoked before bean property configuration is begun on this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbroadcast, closeprotected RemoteCommitEventManager eventManager
protected Log log
public void setConfiguration(Configuration config)
ConfigurablesetConfiguration in interface Configurablepublic void startConfiguration()
ConfigurablestartConfiguration in interface Configurablepublic void endConfiguration()
ConfigurableendConfiguration in interface Configurablepublic void setRemoteCommitEventManager(RemoteCommitEventManager mgr)
RemoteCommitProvidersetRemoteCommitEventManager in interface RemoteCommitProviderprotected void fireEvent(RemoteCommitEvent event)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.