info.magnolia.module.exchangesimple
Class DefaultActivationManager

java.lang.Object
  extended by info.magnolia.module.exchangesimple.DefaultActivationManager
All Implemented Interfaces:
ActivationManager

public class DefaultActivationManager
extends Object
implements ActivationManager

Observed bean holding current configuration of subscribers described at /server/activation/subscribers.

Author:
Sameer Charles $Id: DefaultActivationManager.java 41137 2011-01-06 18:19:25Z gjoseph $

Constructor Summary
DefaultActivationManager()
           
 
Method Summary
 void addSubscribers(Subscriber subscriber)
           
 String getConfigPath()
          Path to stored configuration for the subscribers.
 Collection<Subscriber> getSubscribers()
           
 boolean hasAnyActiveSubscriber()
           
 void setSubscribers(Collection<Subscriber> subscribers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultActivationManager

public DefaultActivationManager()
Method Detail

getSubscribers

public Collection<Subscriber> getSubscribers()
Specified by:
getSubscribers in interface ActivationManager

setSubscribers

public void setSubscribers(Collection<Subscriber> subscribers)
Specified by:
setSubscribers in interface ActivationManager

addSubscribers

public void addSubscribers(Subscriber subscriber)
Specified by:
addSubscribers in interface ActivationManager

getConfigPath

public String getConfigPath()
Description copied from interface: ActivationManager
Path to stored configuration for the subscribers.

Specified by:
getConfigPath in interface ActivationManager
Returns:

hasAnyActiveSubscriber

public boolean hasAnyActiveSubscriber()
Specified by:
hasAnyActiveSubscriber in interface ActivationManager


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.