org.xwiki.observation.remote.internal
Class DefaultRemoteObservationManagerConfiguration

java.lang.Object
  extended by org.xwiki.observation.remote.internal.DefaultRemoteObservationManagerConfiguration
All Implemented Interfaces:
RemoteObservationManagerConfiguration

@Component
public class DefaultRemoteObservationManagerConfiguration
extends java.lang.Object
implements RemoteObservationManagerConfiguration

Provide remote events specific configuration.

Since:
2.0M3
Version:
$Id$

Constructor Summary
DefaultRemoteObservationManagerConfiguration()
           
 
Method Summary
 java.util.List<java.lang.String> getChannels()
          
 java.lang.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
See Also:
RemoteObservationManagerConfiguration.isEnabled()

getChannels

public java.util.List<java.lang.String> getChannels()

Specified by:
getChannels in interface RemoteObservationManagerConfiguration
Returns:
the channels to start at init
See Also:
RemoteObservationManagerConfiguration.getChannels()

getNetworkAdapter

public java.lang.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
See Also:
RemoteObservationManagerConfiguration.getNetworkAdapter()


Copyright © 2004-2011 XWiki. All Rights Reserved.