"org.drools.compiler.cdi.test.KProjectTestClassjar1",
"org.drools.compiler.cdi.test.KProjectTestClassjar2",
"org.drools.compiler.cdi.test.KProjectTestClassjar3",
"org.drools.compiler.cdi.test.KProjectTestClassfol4");
((KieServicesImpl) KieServices.Factory.get()).nullKieClasspathContainer();
WeldContainer container = weld.initialize();
Set<Bean< ? >> beans = container.getBeanManager().getBeans( KProjectTestClass.class, new KPTestLiteral( "jar1" ) );
Bean bean = (Bean) beans.toArray()[0];
KProjectTestClass o1 = (KProjectTestClass) bean.create( container.getBeanManager().createCreationalContext( null ) );
assertNotNull( o1 );
testEntry(o1, "jar1");
beans = container.getBeanManager().getBeans( KProjectTestClass.class, new KPTestLiteral( "jar2" ) );
bean = (Bean) beans.toArray()[0];
KProjectTestClass o2 = (KProjectTestClass) bean.create( container.getBeanManager().createCreationalContext( null ) );
assertNotNull( o2 );
testEntry(o2, "jar2");
beans = container.getBeanManager().getBeans( KProjectTestClass.class, new KPTestLiteral( "jar3" ) );
bean = (Bean) beans.toArray()[0];
KProjectTestClass o3 = (KProjectTestClass) bean.create( container.getBeanManager().createCreationalContext( null ) );
assertNotNull( o3 );
testEntry(o3, "jar3");
beans = container.getBeanManager().getBeans( KProjectTestClass.class, new KPTestLiteral( "fol4" ) );
bean = (Bean) beans.toArray()[0];
KProjectTestClass o4 = (KProjectTestClass) bean.create( container.getBeanManager().createCreationalContext( null ) );
assertNotNull( o4 );
testEntry(o4, "fol4");
weld.shutdown();
} finally {