|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.observation.remote.internal.DefaultRemoteObservationManager
@Component @Singleton public class DefaultRemoteObservationManager
JGoups based RemoteObservationManager. It's also the default implementation for now.
| Constructor Summary | |
|---|---|
DefaultRemoteObservationManager()
|
|
| Method Summary | |
|---|---|
void |
initialize()
|
void |
notify(LocalEventData localEvent)
Send a event in the different network channels. |
void |
notify(RemoteEventData remoteEvent)
Inject a remote event in the local ObservationManager. |
void |
startChannel(java.lang.String channelId)
Start a channel. |
void |
stopChannel(java.lang.String channelId)
Stop a running channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRemoteObservationManager()
| Method Detail |
|---|
public void initialize()
throws org.xwiki.component.phase.InitializationException
initialize in interface org.xwiki.component.phase.Initializableorg.xwiki.component.phase.InitializationExceptionInitializable.initialize()public void notify(LocalEventData localEvent)
This method is not supposed to be used directly for a new event unless the user specifically want to bypass or
emulate ObservationManager.
notify in interface RemoteObservationManagerlocalEvent - the eventRemoteObservationManager.notify(org.xwiki.observation.remote.LocalEventData)public void notify(RemoteEventData remoteEvent)
ObservationManager.
This method is not supposed to be used directly for a new event unless the user specifically want to bypass or emulate network.
notify in interface RemoteObservationManagerremoteEvent - the eventRemoteObservationManager.notify(org.xwiki.observation.remote.RemoteEventData)
public void startChannel(java.lang.String channelId)
throws RemoteEventException
startChannel in interface RemoteObservationManagerchannelId - the identifier of the channel to start
RemoteEventException - error when trying to start a channelRemoteObservationManager.startChannel(java.lang.String)
public void stopChannel(java.lang.String channelId)
throws RemoteEventException
stopChannel in interface RemoteObservationManagerchannelId - the identifier of the channel to stop
RemoteEventException - error when trying to stop a running channelRemoteObservationManager.stopChannel(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||