org.mule.module.apikit
Class RestMappingExceptionStrategy
java.lang.Object
org.mule.processor.AbstractMuleObjectOwner<MappingExceptionListener>
org.mule.module.apikit.RestMappingExceptionStrategy
- All Implemented Interfaces:
- org.mule.api.Acceptor, org.mule.api.construct.FlowConstructAware, org.mule.api.context.MuleContextAware, org.mule.api.exception.ExceptionHandler, org.mule.api.exception.MessagingExceptionHandler, org.mule.api.exception.MessagingExceptionHandlerAcceptor, org.mule.api.GlobalNameableObject, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable
public class RestMappingExceptionStrategy
- extends org.mule.processor.AbstractMuleObjectOwner<MappingExceptionListener>
- implements org.mule.api.exception.MessagingExceptionHandlerAcceptor, org.mule.api.GlobalNameableObject
| Fields inherited from class org.mule.processor.AbstractMuleObjectOwner |
flowConstruct, muleContext |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
PHASE_NAME |
| Methods inherited from class org.mule.processor.AbstractMuleObjectOwner |
dispose, getFlowConstruct, getMuleContext, initialise, setFlowConstruct, setMuleContext, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
globalName
protected String globalName
RestMappingExceptionStrategy
public RestMappingExceptionStrategy()
handleException
public org.mule.api.MuleEvent handleException(Exception exception,
org.mule.api.MuleEvent event)
- Specified by:
handleException in interface org.mule.api.exception.MessagingExceptionHandler
defaultHandler
protected org.mule.api.MuleEvent defaultHandler(Exception exception,
org.mule.api.MuleEvent event)
accept
public boolean accept(org.mule.api.MuleEvent event)
- Specified by:
accept in interface org.mule.api.Acceptor
acceptsAll
public boolean acceptsAll()
- Specified by:
acceptsAll in interface org.mule.api.Acceptor
setExceptionListeners
public void setExceptionListeners(List<MappingExceptionListener> exceptionListeners)
getGlobalName
public String getGlobalName()
- Specified by:
getGlobalName in interface org.mule.api.GlobalNameableObject
setGlobalName
public void setGlobalName(String globalName)
- Specified by:
setGlobalName in interface org.mule.api.GlobalNameableObject
getOwnedObjects
protected List<MappingExceptionListener> getOwnedObjects()
- Specified by:
getOwnedObjects in class org.mule.processor.AbstractMuleObjectOwner<MappingExceptionListener>
Copyright © 2013. All rights reserved.