net.sf.crispy.concurrent
Interface ExecuteCallback

All Known Implementing Classes:
MethodExecuteCallback

public interface ExecuteCallback

Handle callbacks for call a method in ExecuteWorker (in sperated Thread).

Since:
Version 1.0
Author:
Linke

Method Summary
 java.lang.Object execute(java.lang.Object pvObject, java.lang.reflect.Method pvMethod, java.lang.Object[] pvArgs)
          Execute the method.
 

Method Detail

execute

public java.lang.Object execute(java.lang.Object pvObject,
                                java.lang.reflect.Method pvMethod,
                                java.lang.Object[] pvArgs)
                         throws java.lang.Exception
Execute the method.

Parameters:
pvObject -
pvMethod - Method to invocation.
pvArgs - Parameter for the method.
Returns:
The result of execution.
Throws:
java.lang.Throwable
java.lang.Exception


Copyright © 2005-2006 Crispy. All Rights Reserved.