org.mule.api.interceptor
Interface Invocation

All Known Implementing Classes:
InvocationAdapter, RequestContextInvocation

Deprecated. - This is only used for backwards compatability with old style (Mule 1.x) interceptors

public interface Invocation

Call the embedded component. Because interception is "lower level" in 2.x, it cannot return a MuleMessage - instead an Object is returned.

If you are using the adapter in the Spring Extras package then, if you want that same object to be returned as the result, you do not need to construct a new message, just return null and the adapter will manage the result correctly.


Method Summary
 Object execute()
          Deprecated. Calls the component
 MuleEvent getEvent()
          Deprecated.  
 MuleMessage getMessage()
          Deprecated.  
 Service getService()
          Deprecated.  
 

Method Detail

execute

Object execute()
               throws MuleException
Deprecated. 
Calls the component

Returns:
the result of invoking the component
Throws:
MuleException - if something goes wrong

getService

Service getService()
Deprecated. 

getEvent

MuleEvent getEvent()
Deprecated. 

getMessage

MuleMessage getMessage()
Deprecated. 


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.