service.impl/src/main/java/com/hack23/cia/service/impl/rules/RulesConfiguration.java
@Bean
	public KieContainer kieContainer() {
		final KieServices kieServices = KieServices.Factory.get();

		final KieContainer kContainer = kieServices.getKieClasspathContainer();
		LOGGER.info("Using classloader {}, parent {}",kContainer.getClassLoader(),kContainer.getClassLoader().getParent());
		
		final Results verifyResults = kContainer.verify();
		for (final Message m : verifyResults.getMessages()) {
			LOGGER.warn("Kie container message: {}", m);
		}

		final KieBase kieBase = kContainer.getKieBase();
		for (final KiePackage kp : kieBase.getKiePackages()) {
			for (final Rule rule : kp.getRules()) {
				LOGGER.info("Loadded Rule: {} {}", kp, rule.getName());
			}
		}
		

		return kContainer;
	}
@Bean
	public KieContainer kieContainer() {
		final KieServices kieServices = KieServices.Factory.get();

		final KieContainer kContainer = kieServices.getKieClasspathContainer();
		LOGGER.info("Using classloader {}, parent {}",kContainer.getClassLoader(),kContainer.getClassLoader().getParent());
		
		final Results verifyResults = kContainer.verify();
		for (final Message m : verifyResults.getMessages()) {
			LOGGER.warn("Kie container message: {}", m);
		}

		final KieBase kieBase = kContainer.getKieBase();
		for (final KiePackage kp : kieBase.getKiePackages()) {
			for (final Rule rule : kp.getRules()) {
				LOGGER.info("Loadded Rule: {} {}", kp, rule.getName());
			}
		}
		

		return kContainer;
	}
@ Bean public KieContainer kieContainer ( ) { final KieServices kieServices = KieServices . Factory . get ( ) ; final KieContainer kContainer = kieServices . getKieClasspathContainer ( ) ; LOGGER . info ( "Using classloader {}, parent {}" , kContainer . getClassLoader ( ) , kContainer . getClassLoader ( ) . getParent ( ) ) ; final Results verifyResults = kContainer . verify ( ) ; for ( final Message m : verifyResults . getMessages ( ) ) { LOGGER . warn ( "Kie container message: {}" , m ) ; } final KieBase kieBase = kContainer . getKieBase ( ) ; for ( final KiePackage kp : kieBase . getKiePackages ( ) ) { for ( final Rule rule : kp . getRules ( ) ) { LOGGER . info ( "Loadded Rule: {} {}" , kp , rule . getName ( ) ) ; } } return kContainer ; }
Kie container.

@return the kie container
Kie container .