org.mule.module.apikit
Class RestMappingExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MappingExceptionListener>
      extended by 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


Field Summary
protected  String globalName
           
 
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
 
Constructor Summary
RestMappingExceptionStrategy()
           
 
Method Summary
 boolean accept(org.mule.api.MuleEvent event)
           
 boolean acceptsAll()
           
protected  org.mule.api.MuleEvent defaultHandler(Exception exception, org.mule.api.MuleEvent event)
           
 String getGlobalName()
           
protected  List<MappingExceptionListener> getOwnedObjects()
           
 org.mule.api.MuleEvent handleException(Exception exception, org.mule.api.MuleEvent event)
           
 void setExceptionListeners(List<MappingExceptionListener> exceptionListeners)
           
 void setGlobalName(String globalName)
           
 
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
 

Field Detail

globalName

protected String globalName
Constructor Detail

RestMappingExceptionStrategy

public RestMappingExceptionStrategy()
Method Detail

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.