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$

Constructor Summary
DefaultActivationManager()
           
 
Method Summary
 void addSubscribers(Subscriber subscriber)
           
 String getConfigPath()
          Path to stored configuration for the subscribers.
 String getPublicKey()
          Returns public key used by target instance to authenticate incoming activations.
 Collection<Subscriber> getSubscribers()
           
 boolean hasAnyActiveSubscriber()
           
 void setPublicKey(String activationKey)
           
 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

getPublicKey

public String getPublicKey()
Description copied from interface: ActivationManager
Returns public key used by target instance to authenticate incoming activations.

Specified by:
getPublicKey in interface ActivationManager

setPublicKey

public void setPublicKey(String activationKey)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.