info.magnolia.module.exchangesimple
Class DefaultActivationManager

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

public class DefaultActivationManager
extends Object
implements info.magnolia.cms.exchange.ActivationManager

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

Author:
Sameer Charles $Id: DefaultActivationManager.java 38886 2010-11-08 10:17:20Z had $

Constructor Summary
DefaultActivationManager()
           
 
Method Summary
 void addSubscribers(info.magnolia.cms.exchange.Subscriber subscriber)
           
 String getConfigPath()
           
 Collection<info.magnolia.cms.exchange.Subscriber> getSubscribers()
           
 boolean hasAnyActiveSubscriber()
           
 void setSubscribers(Collection<info.magnolia.cms.exchange.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<info.magnolia.cms.exchange.Subscriber> getSubscribers()
Specified by:
getSubscribers in interface info.magnolia.cms.exchange.ActivationManager

setSubscribers

public void setSubscribers(Collection<info.magnolia.cms.exchange.Subscriber> subscribers)
Specified by:
setSubscribers in interface info.magnolia.cms.exchange.ActivationManager

addSubscribers

public void addSubscribers(info.magnolia.cms.exchange.Subscriber subscriber)
Specified by:
addSubscribers in interface info.magnolia.cms.exchange.ActivationManager

getConfigPath

public String getConfigPath()
Specified by:
getConfigPath in interface info.magnolia.cms.exchange.ActivationManager

hasAnyActiveSubscriber

public boolean hasAnyActiveSubscriber()
Specified by:
hasAnyActiveSubscriber in interface info.magnolia.cms.exchange.ActivationManager


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