S - The class name of the source object that spawned this view.public class Executor<S> extends Object
addParameter(java.lang.Class, java.lang.Object) method
if the method you specified requires parameters.
Copyright 2006 Sans Pareil Technologies, Inc.
| Constructor and Description |
|---|
Executor(S source,
String methodName)
Create a new instance of the class with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Class cls,
Object object)
Add the specified source and class combination to
args. |
void |
execute()
|
public Executor(S source, String methodName)
source - The source to set.methodName - The methodName to set.public void addParameter(Class cls, Object object)
args.
This method should be invoked as many times are required by
specifying the class and object parameters in the same order
required to execute methodName.cls - The class of the parameterobject - The parameter valuepublic void execute()