info.magnolia.module.exchangesimple
Class DefaultActivationManager
java.lang.Object
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 52496 2011-12-08 17:04:52Z had $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultActivationManager
public DefaultActivationManager()
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-2012 Magnolia International Ltd.. All Rights Reserved.