org.apache.sling.event.impl.dea
Class DistributedEventAdminConfiguration

java.lang.Object
  extended by org.apache.sling.event.impl.dea.DistributedEventAdminConfiguration

@Service(value=DistributedEventAdminConfiguration.class)
public class DistributedEventAdminConfiguration
extends Object

This service wraps the configuration of the distributed event admin.


Constructor Summary
DistributedEventAdminConfiguration()
           
 
Method Summary
protected  void activate(Map<String,Object> props)
           
 int getCleanupPeriod()
           
 String getOwnRootPath()
          This is the root path for all events.
 String getOwnRootPathWithSlash()
          This is the root path for all events of this instance.
 String getRootPath()
          This is the root path for all events.
 String getRootPathWithSlash()
          This is the root path for all events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedEventAdminConfiguration

public DistributedEventAdminConfiguration()
Method Detail

activate

@Activate
protected void activate(Map<String,Object> props)

getRootPathWithSlash

public String getRootPathWithSlash()
This is the root path for all events.

Returns:
The path ending with a slash.

getRootPath

public String getRootPath()
This is the root path for all events.

Returns:
The path ending with a slash.

getOwnRootPath

public String getOwnRootPath()
This is the root path for all events.

Returns:
The path does not end with a slash.

getOwnRootPathWithSlash

public String getOwnRootPathWithSlash()
This is the root path for all events of this instance.

Returns:
The path ending with a slash.

getCleanupPeriod

public int getCleanupPeriod()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.