org.openbp.config.handler.AutowiringHandlerConfig 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.handler;
import org.openbp.core.handler.HandlerFactory;
import org.openbp.server.handler.AutowiringHandlerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Spring configuration that supports using the @Autowired annotation within handler implementations.
*/
@Configuration
public class AutowiringHandlerConfig
{
@Bean
public HandlerFactory handlerFactory()
{
return new AutowiringHandlerFactory();
}
}