org.xwiki.observation.remote.internal
Class DefaultRemoteObservationManagerConfiguration
java.lang.Object
org.xwiki.observation.remote.internal.DefaultRemoteObservationManagerConfiguration
- All Implemented Interfaces:
- RemoteObservationManagerConfiguration
@Component
@Singleton
public class DefaultRemoteObservationManagerConfiguration
- extends Object
- implements RemoteObservationManagerConfiguration
Provide remote events specific configuration.
- Since:
- 2.0M3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRemoteObservationManagerConfiguration
public DefaultRemoteObservationManagerConfiguration()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface RemoteObservationManagerConfiguration
- Returns:
- indicate if the remote observation manager is enabled
getChannels
public List<String> getChannels()
- Specified by:
getChannels
in interface RemoteObservationManagerConfiguration
- Returns:
- the channels to start at init
getNetworkAdapter
public String getNetworkAdapter()
- Specified by:
getNetworkAdapter
in interface RemoteObservationManagerConfiguration
- Returns:
- the identifier of the network adapter implementation to use to actually send and receive network messages