org.openbp.config.engine.script.BeanShellScriptConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openbp-server Show documentation
Show all versions of openbp-server Show documentation
The OpenBP process engine (main module)
package org.openbp.config.engine.script;
import org.openbp.server.engine.script.ScriptEngineFactory;
import org.openbp.server.engine.script.ScriptEngineFactoryImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Spring configuration that supports using the BeanShell as script interpreter.
*/
@Configuration
public class BeanShellScriptConfig
{
@Bean
public ScriptEngineFactory scriptEngine()
{
return new ScriptEngineFactoryImpl();
}
}