|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.event.AbstractRemoteCommitProvider
public abstract class AbstractRemoteCommitProvider
Abstract implementation of RemoteCommitProvider
. Obtains handles
to the event manager and log.
Field Summary | |
---|---|
protected RemoteCommitEventManager |
eventManager
|
protected Log |
log
|
Constructor Summary | |
---|---|
AbstractRemoteCommitProvider()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.openjpa.event.RemoteCommitProvider |
---|
broadcast, close |
Field Detail |
---|
protected RemoteCommitEventManager eventManager
protected Log log
Constructor Detail |
---|
public AbstractRemoteCommitProvider()
Method Detail |
---|
public void setConfiguration(Configuration config)
Configurable
setConfiguration
in interface Configurable
public void startConfiguration()
Configurable
startConfiguration
in interface Configurable
public void endConfiguration()
Configurable
endConfiguration
in interface Configurable
public void setRemoteCommitEventManager(RemoteCommitEventManager mgr)
RemoteCommitProvider
setRemoteCommitEventManager
in interface RemoteCommitProvider
protected void fireEvent(RemoteCommitEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |