public abstract class AbstractPolicyTemplate extends Object implements RetryPolicyTemplate, MuleContextAware
Modifier and Type | Field and Description |
---|---|
protected Log |
logger |
protected RetryNotifier |
notifier |
Constructor and Description |
---|
AbstractPolicyTemplate() |
Modifier and Type | Method and Description |
---|---|
RetryContext |
execute(RetryCallback callback,
WorkManager workManager) |
Map<Object,Object> |
getMetaInfo() |
RetryNotifier |
getNotifier() |
void |
setId(String id) |
void |
setMetaInfo(Map<Object,Object> metaInfo) |
void |
setMuleContext(MuleContext context) |
void |
setNotifier(RetryNotifier retryNotifier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRetryInstance
protected RetryNotifier notifier
protected final transient Log logger
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public RetryContext execute(RetryCallback callback, WorkManager workManager) throws Exception
execute
in interface RetryPolicyTemplate
Exception
public RetryNotifier getNotifier()
getNotifier
in interface RetryPolicyTemplate
public void setNotifier(RetryNotifier retryNotifier)
setNotifier
in interface RetryPolicyTemplate
public Map<Object,Object> getMetaInfo()
getMetaInfo
in interface RetryPolicyTemplate
public void setMetaInfo(Map<Object,Object> metaInfo)
setMetaInfo
in interface RetryPolicyTemplate
public void setId(String id)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.