info.magnolia.module.exchangesimple
Class DefaultSubscriber

java.lang.Object
  extended by info.magnolia.module.exchangesimple.DefaultSubscriber
All Implemented Interfaces:
Subscriber

public class DefaultSubscriber
extends Object
implements Subscriber

Bean holder for subscriber configuration.

Author:
Sameer Charles $Id$

Constructor Summary
DefaultSubscriber()
           
 
Method Summary
 void addSubscriptions(Subscription subscription)
           
 int getConnectTimeout()
           
 String getDocumentBase(String path, String repositoryId)
           
 Subscription getMatchedSubscription(String path, String repositoryId)
           
 String getName()
           
 int getReadTimeout()
           
 String getSubscribedPath(String path, String repositoryId)
           
 Collection getSubscriptions()
           
 String getURL()
           
 boolean isActive()
           
 boolean isSubscribed(String path, String repositoryId)
           
 void setActive(boolean active)
           
 void setConnectTimeout(int timeoutMillis)
           
 void setName(String name)
           
 void setReadTimeout(int timeoutMillis)
           
 void setSubscriptions(Collection subscriptions)
           
 void setURL(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSubscriber

public DefaultSubscriber()
Method Detail

getName

public String getName()
Specified by:
getName in interface Subscriber

setName

public void setName(String name)
Specified by:
setName in interface Subscriber

getURL

public String getURL()
Specified by:
getURL in interface Subscriber

setURL

public void setURL(String url)
Specified by:
setURL in interface Subscriber

isActive

public boolean isActive()
Specified by:
isActive in interface Subscriber

setActive

public void setActive(boolean active)
Specified by:
setActive in interface Subscriber

setSubscriptions

public void setSubscriptions(Collection subscriptions)
Specified by:
setSubscriptions in interface Subscriber

getSubscriptions

public Collection getSubscriptions()
Specified by:
getSubscriptions in interface Subscriber

addSubscriptions

public void addSubscriptions(Subscription subscription)
Specified by:
addSubscriptions in interface Subscriber

getMatchedSubscription

public Subscription getMatchedSubscription(String path,
                                           String repositoryId)
Specified by:
getMatchedSubscription in interface Subscriber

isSubscribed

public boolean isSubscribed(String path,
                            String repositoryId)
Specified by:
isSubscribed in interface Subscriber

getDocumentBase

public String getDocumentBase(String path,
                              String repositoryId)

getSubscribedPath

public String getSubscribedPath(String path,
                                String repositoryId)

getConnectTimeout

public int getConnectTimeout()
Specified by:
getConnectTimeout in interface Subscriber

getReadTimeout

public int getReadTimeout()
Specified by:
getReadTimeout in interface Subscriber

setConnectTimeout

public void setConnectTimeout(int timeoutMillis)
Specified by:
setConnectTimeout in interface Subscriber

setReadTimeout

public void setReadTimeout(int timeoutMillis)
Specified by:
setReadTimeout in interface Subscriber


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