org.mule.api
Class Invocation

java.lang.Object
  extended by org.mule.api.Invocation

Deprecated. MULE-1282

public class Invocation
extends Object

Invocation represents a link in an interceptor chain. Interceptors can be configured om Mule Managed components.


Constructor Summary
Invocation(Service service, MuleMessage message, Invocation invocation)
          Deprecated. Constructs an initialised invocation
 
Method Summary
 MuleMessage execute()
          Deprecated. Excutes this invocation
 MuleEvent getEvent()
          Deprecated.  
 MuleMessage getMessage()
          Deprecated. Returns the current message
 Service getService()
          Deprecated. Returns the descriptor for the service associated with this invocation
 void setMessage(MuleMessage message)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Invocation

public Invocation(Service service,
                  MuleMessage message,
                  Invocation invocation)
Deprecated. 
Constructs an initialised invocation

Parameters:
descriptor - the components descriptor
message - the current message
invocation - the next invocation in the chain or null.
Method Detail

execute

public MuleMessage execute()
                    throws MuleException
Deprecated. 
Excutes this invocation

Returns:
the current message that may have been altered by the invocation
Throws:
MuleException - if something goes wrong

getService

public Service getService()
Deprecated. 
Returns the descriptor for the service associated with this invocation

Returns:
the descriptor for the service associated with this invocation

getEvent

public MuleEvent getEvent()
Deprecated. 

getMessage

public MuleMessage getMessage()
Deprecated. 
Returns the current message

Returns:
the current message

setMessage

public void setMessage(MuleMessage message)
Deprecated. 


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