@@ -0,0 +1,1667 @@
+package org.gozer.services;%0A%0Aimport org.junit.Test;%0Aimport org.kevoree.kcl.KevoreeJarClassLoader;%0Aimport org.kevoree.resolver.MavenResolver;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport java.io.File;%0Aimport java.net.MalformedURLException;%0Aimport java.util.Arrays;%0A%0Apublic class KCLTest %7B%0A%0A    private static final Logger LOGGER = LoggerFactory.getLogger(KCLTest.class);%0A%0A    @Test%0A    public void should_load_classe() throws MalformedURLException, IllegalAccessException, InstantiationException, NoSuchMethodException %7B%0A        KevoreeJarClassLoader kclScope1 = new KevoreeJarClassLoader();%0A        kclScope1.isolateFromSystem();%0A%0A        KevoreeJarClassLoader kclScope = new KevoreeJarClassLoader();%0A%0A        MavenResolver resolver = new MavenResolver();%0A        resolver.setBasePath(%22target/repository%22);%0A%0A        File dependencyPath = resolver.resolve(%22mvn:org.springframework:spring-core:3.2.4.RELEASE:jar%22, Arrays.asList(%22http://repo1.maven.org/maven2%22));%0A%0A        kclScope.addJarFromURL(dependencyPath.toURI().toURL());%0A        LOGGER.info(%22deploiement jar path : %7B%7D%22, dependencyPath.toURI().toURL());%0A        kclScope1.addChild(kclScope);%0A%0A        Class cl1 = kclScope.loadClass(%22org.springframework.core.io.Resource%22);%0A        Object objOfCl1 = cl1.newInstance();%0A%0A//        KevoreeJarClassLoader kclScope2 = new KevoreeJarClassLoader();%0A//%0A//        //can be call dynamicallly at anytime%0A//        //removeChild also available%0A//        kclScope2.addChild(kclScope1);%0A//%0A//        Class clMain = kclScope2.loadClass(%22yourMain%22);%0A//        //slf4j classes will be resolved transitively%0A//        clMain.getMethod(%22main%22).invoke();%0A    %7D%0A%7D%0A

Add an unit test to have simple example of KCL