dsto.dfc.reflection
Interface IDelegate

All Known Implementing Classes:
DashboardDelegate, Delegate, TaskDelegate

public interface IDelegate

A delegate pointer to a method. Similar to a java.lang.Method, but allows pluggable instances and composition.

Author:
Matthew Phillips

Field Summary
static Object[] EMPTY_ARGS
           
 
Method Summary
 void invoke(Object... args)
          Invoke the delegate with the given argument list.
 

Field Detail

EMPTY_ARGS

static final Object[] EMPTY_ARGS
Method Detail

invoke

void invoke(Object... args)
            throws InvokeException
Invoke the delegate with the given argument list.

Parameters:
args - The arguments.
Throws:
InvokeException - if a checked exception occurs.


Copyright © 2008 Commonwealth of Australia