org.mule.retry.policies
Class AbstractPolicyTemplate
java.lang.Object
org.mule.retry.policies.AbstractPolicyTemplate
- All Implemented Interfaces:
- RetryPolicyTemplate
- Direct Known Subclasses:
- NoRetryPolicyTemplate
public abstract class AbstractPolicyTemplate
- extends Object
- implements RetryPolicyTemplate
Base class for RetryPolicyTemplate implementations. Uses ConnectNotifier as RetryNotifier
by default.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifier
protected RetryNotifier notifier
logger
protected final transient Log logger
AbstractPolicyTemplate
public AbstractPolicyTemplate()
execute
public RetryContext execute(RetryCallback callback,
WorkManager workManager)
throws Exception
- Specified by:
execute
in interface RetryPolicyTemplate
- Throws:
Exception
getNotifier
public RetryNotifier getNotifier()
- Specified by:
getNotifier
in interface RetryPolicyTemplate
setNotifier
public void setNotifier(RetryNotifier retryNotifier)
- Specified by:
setNotifier
in interface RetryPolicyTemplate
getMetaInfo
public Map getMetaInfo()
- Specified by:
getMetaInfo
in interface RetryPolicyTemplate
setMetaInfo
public void setMetaInfo(Map metaInfo)
- Specified by:
setMetaInfo
in interface RetryPolicyTemplate
setId
public void setId(String id)
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.