info.magnolia.module.exchangesimple
Class DefaultSubscriber
java.lang.Object
info.magnolia.module.exchangesimple.DefaultSubscriber
- All Implemented Interfaces:
- Subscriber
public class DefaultSubscriber
- extends java.lang.Object
- implements Subscriber
Bean holder for subscriber configuration.
- Author:
- Sameer Charles
$Id: DefaultSubscriber.java 41137 2011-01-06 18:19:25Z gjoseph $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSubscriber
public DefaultSubscriber()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Subscriber
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Subscriber
getURL
public java.lang.String getURL()
- Specified by:
getURL
in interface Subscriber
setURL
public void setURL(java.lang.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(java.util.Collection subscriptions)
- Specified by:
setSubscriptions
in interface Subscriber
getSubscriptions
public java.util.Collection getSubscriptions()
- Specified by:
getSubscriptions
in interface Subscriber
addSubscriptions
public void addSubscriptions(Subscription subscription)
- Specified by:
addSubscriptions
in interface Subscriber
getMatchedSubscription
public Subscription getMatchedSubscription(java.lang.String path,
java.lang.String repositoryId)
- Specified by:
getMatchedSubscription
in interface Subscriber
isSubscribed
public boolean isSubscribed(java.lang.String path,
java.lang.String repositoryId)
- Specified by:
isSubscribed
in interface Subscriber
getDocumentBase
public java.lang.String getDocumentBase(java.lang.String path,
java.lang.String repositoryId)
getSubscribedPath
public java.lang.String getSubscribedPath(java.lang.String path,
java.lang.String repositoryId)
getAuthenticationMethod
public java.lang.String getAuthenticationMethod()
- Specified by:
getAuthenticationMethod
in interface Subscriber
setAuthenticationMethod
public void setAuthenticationMethod(java.lang.String method)
- Specified by:
setAuthenticationMethod
in interface Subscriber
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-2011 Magnolia International Ltd.. All Rights Reserved.