intarsys runtime library

de.intarsys.tools.functor
Interface IFunctorCall

All Known Implementing Classes:
FunctorCall

public interface IFunctorCall

An object representing the actual call of an IFunctor. This may be used to transport call context and state such as arguments etc.


Method Summary
 IArgs getArgs()
          The arguments currently associated with the call.
 Object getReceiver()
          The receiver for the behavior implemented.
 void setArgs(IArgs args)
          Assign an argument list for the call.
 void setReceiver(Object receiver)
          Assign a new receiver.
 

Method Detail

getArgs

IArgs getArgs()
The arguments currently associated with the call.

Returns:
The arguments currently associated with the call.

getReceiver

Object getReceiver()
The receiver for the behavior implemented.

Returns:
The receiver for the behavior implemented.

setArgs

void setArgs(IArgs args)
Assign an argument list for the call.

This is for example useful when handling with declarations modifying the original functor call.


setReceiver

void setReceiver(Object receiver)
Assign a new receiver.

Parameters:
receiver - The new receiver

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.