org.xwiki.observation.remote.internal
Class DefaultRemoteObservationManagerConfiguration

java.lang.Object
  extended by 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

Constructor Summary
DefaultRemoteObservationManagerConfiguration()
           
 
Method Summary
 List<String> getChannels()
           
 String getNetworkAdapter()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRemoteObservationManagerConfiguration

public DefaultRemoteObservationManagerConfiguration()
Method Detail

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