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$

Constructor Summary
DefaultActivationManager()
           
 
Method Summary
 void addSubscribers(info.magnolia.cms.exchange.Subscriber subscriber)
           
 String getConfigPath()
           
 String getPublicKey()
           
 Collection<info.magnolia.cms.exchange.Subscriber> getSubscribers()
           
 boolean hasAnyActiveSubscriber()
           
 void setPublicKey(String activationKey)
           
 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

getPublicKey

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

setPublicKey

public void setPublicKey(String activationKey)


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