public KieBuilder newKieBuilder(KieFileSystem kieFileSystem) {
return new KieBuilderImpl(kieFileSystem);
}
public KieScanner newKieScanner(KieContainer kieContainer) {
KieScannerFactoryService scannerFactoryService = ServiceRegistryImpl.getInstance().get( KieScannerFactoryService.class );
InternalKieScanner scanner = (InternalKieScanner)scannerFactoryService.newKieScanner();
scanner.setKieContainer(kieContainer);
return scanner;
}