1 22 package org.jboss.mx.loading; 23 24 import java.net.URL ; 25 26 import org.jboss.util.loading.Translator; 27 28 29 38 39 public interface UnifiedLoaderRepositoryMBean 40 { 41 public RepositoryClassLoader newClassLoader(final URL url, boolean addToRepository) 42 throws Exception ; 43 public RepositoryClassLoader newClassLoader(final URL url, final URL origURL, boolean addToRepository) 44 throws Exception ; 45 46 public void removeClassLoader(ClassLoader cl); 47 48 public LoaderRepository registerClassLoader(RepositoryClassLoader ucl); 49 50 public RepositoryClassLoader getWrappingClassLoader(ClassLoader cl); 51 52 public LoaderRepository getInstance(); 53 54 public URL [] getURLs(); 55 56 public Translator getTranslator(); 58 public void setTranslator(Translator t); 59 60 } | Popular Tags |