org.mule.umo
Class Invocation

java.lang.Object
  extended byorg.mule.umo.Invocation
Direct Known Subclasses:
InterceptorsInvoker

public class Invocation
extends java.lang.Object

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

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason

Constructor Summary
Invocation(UMOImmutableDescriptor descriptor, UMOMessage message, Invocation invocation)
          Constructs an initialised invocation
 
Method Summary
 UMOMessage execute()
          Excutes this invocation
 UMOImmutableDescriptor getDescriptor()
          Returns the descriptor for the component associated with this invocation
 UMOEvent getEvent()
           
 UMOMessage getMessage()
          Returns the current message
 void setMessage(UMOMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Invocation

public Invocation(UMOImmutableDescriptor descriptor,
                  UMOMessage message,
                  Invocation invocation)
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 UMOMessage execute()
                   throws UMOException
Excutes this invocation

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

getDescriptor

public UMOImmutableDescriptor getDescriptor()
Returns the descriptor for the component associated with this invocation

Returns:
the descriptor for the component associated with this invocation

getMessage

public UMOMessage getMessage()
Returns the current message

Returns:
the current message

getEvent

public UMOEvent getEvent()

setMessage

public void setMessage(UMOMessage message)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.