1 22 package org.objectweb.petals.classloader; 23 24 import java.net.URL ; 25 import java.net.URLClassLoader ; 26 import java.util.List ; 27 28 import org.objectweb.petals.PetalsException; 29 30 36 public interface LoaderManager { 37 38 39 47 public URLClassLoader createClassLoader(URL [] baseUrls, List <String > classpathUrls, boolean useParentFirst) 48 throws PetalsException; 49 50 60 public URLClassLoader createComponentClassLoader(String classLoaderId, URL [] baseUrls, List <String > classpathUrls, 61 boolean useParentFirst, List <String > sharedLibrariesNameList) throws PetalsException; 62 63 64 73 public URLClassLoader createSharedLibrariesClassLoader(String classLoaderId, URL [] baseUrls, List <String > classpathUrls, 74 boolean useParentFirst) throws PetalsException; 75 76 public boolean containsClassLoader(String classLoaderId); 77 78 83 public void deleteClassLoader(String classLoaderId); 84 } 85 | Popular Tags |