info.magnolia.module.exchangesimple
Class DefaultActivationManager

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

public class DefaultActivationManager
extends java.lang.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)
           
 java.lang.String getConfigPath()
          Path to stored configuration for the subscribers.
 java.util.Collection<Subscriber> getSubscribers()
           
 boolean hasAnyActiveSubscriber()
           
 void setSubscribers(java.util.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 java.util.Collection<Subscriber> getSubscribers()
Specified by:
getSubscribers in interface ActivationManager

setSubscribers

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

addSubscribers

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

getConfigPath

public java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.