org.openbp.config.modelmgr.ClassPathModelMgrConfig 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.modelmgr;
import org.openbp.core.model.modelmgr.ClassPathModelMgr;
import org.openbp.core.model.modelmgr.ModelMgr;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Spring configuration providing classpath-based model storage.
* This is the default if you intend to place your models in the jar file of your application.
*/
@Configuration
public class ClassPathModelMgrConfig
{
@Bean
public ModelMgr modelMgr()
{
return new ClassPathModelMgr();
}
}