org.outerj.xreporter.report.definition
Class JavaExecutor
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.outerj.xreporter.report.definition.JavaExecutor
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, Executable, org.apache.avalon.framework.logger.LogEnabled
- public class JavaExecutor
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements Executable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Composable
Implementation of Executable
which runs a user-specified class implementing
the Executable interface.
Constructor Summary |
JavaExecutor(java.lang.ClassLoader classLoader)
|
Method Summary |
void |
compose(org.apache.avalon.framework.component.ComponentManager componentManager)
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
execute(ExecutionContext executionContext)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected org.apache.avalon.framework.configuration.Configuration configuration
classLoader
protected java.lang.ClassLoader classLoader
executableClass
protected java.lang.Class executableClass
componentManager
protected org.apache.avalon.framework.component.ComponentManager componentManager
JavaExecutor
public JavaExecutor(java.lang.ClassLoader classLoader)
compose
public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
throws org.apache.avalon.framework.component.ComponentException
- Specified by:
compose
in interface org.apache.avalon.framework.component.Composable
- Throws:
org.apache.avalon.framework.component.ComponentException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
execute
public void execute(ExecutionContext executionContext)
throws java.lang.Exception
- Specified by:
execute
in interface Executable
- Throws:
java.lang.Exception