| java.lang.Object org.apache.examples.panorama.startup.impl.ExecuteStatic
ExecuteStatic | public class ExecuteStatic implements Executable(Code) | | Used to access the legacy startup code that is in the form
of a public static method (usually init() ) on some
class.
author: Howard Lewis Ship |
Method Summary | |
public void | execute() | public void | setMethodName(String string) Sets the name of the method to invoke; if not set, the default is init . | public void | setTargetClass(Class targetClass) Sets the class to invoke the method on. |
setMethodName | public void setMethodName(String string)(Code) | | Sets the name of the method to invoke; if not set, the default is init .
The target class must have a public static method with that name taking no
parameters.
|
setTargetClass | public void setTargetClass(Class targetClass)(Code) | | Sets the class to invoke the method on.
|
|
|