|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.execution.EtlExecutor
scriptella.driver.spring.EtlExecutorBean
public class EtlExecutorBean
Implementation of EtlExecutor for Spring IoC container.
This class exposes a set of configurable properties and provides
a Callable invocation interface to avoid dependency on Scriptella
in application code.
| Constructor Summary | |
|---|---|
EtlExecutorBean()
Creates scripts executor. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
scriptella.execution.ExecutionStatistics |
call()
Simply calls execute(). |
scriptella.execution.ExecutionStatistics |
execute()
|
scriptella.execution.ExecutionStatistics |
execute(scriptella.interactive.ProgressIndicator indicator)
|
java.util.Map<java.lang.String,?> |
getProperties()
|
void |
setAutostart(boolean autostart)
Sets autostart property. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setConfigLocation(org.springframework.core.io.Resource resource)
Sets configuration location. |
void |
setProgressIndicator(scriptella.interactive.ProgressIndicator progressIndicator)
Sets progress indicator to use. |
void |
setProperties(java.util.Map<java.lang.String,?> properties)
|
| Methods inherited from class scriptella.execution.EtlExecutor |
|---|
getConfiguration, isJmxEnabled, isSuppressStatistics, newExecutor, newExecutor, newExecutor, prepare, run, setConfiguration, setJmxEnabled, setSuppressStatistics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EtlExecutorBean()
| Method Detail |
|---|
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void setAutostart(boolean autostart)
autostart - true if executor must be automatically runned after initialization.
Default value is false.public void setProgressIndicator(scriptella.interactive.ProgressIndicator progressIndicator)
By default no progress shown.
progressIndicator - progress indicator to use.
public void setConfigLocation(org.springframework.core.io.Resource resource)
throws java.io.IOException
resource - configuration resource.
java.io.IOExceptionpublic java.util.Map<java.lang.String,?> getProperties()
public void setProperties(java.util.Map<java.lang.String,?> properties)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
public scriptella.execution.ExecutionStatistics call()
throws scriptella.execution.EtlExecutorException
execute().
call in interface java.util.concurrent.Callable<scriptella.execution.ExecutionStatistics>call in class scriptella.execution.EtlExecutorscriptella.execution.EtlExecutorException
public scriptella.execution.ExecutionStatistics execute()
throws scriptella.execution.EtlExecutorException
execute in class scriptella.execution.EtlExecutorscriptella.execution.EtlExecutorException
public scriptella.execution.ExecutionStatistics execute(scriptella.interactive.ProgressIndicator indicator)
throws scriptella.execution.EtlExecutorException
execute in class scriptella.execution.EtlExecutorscriptella.execution.EtlExecutorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||