1 package org.jboss.mx.loading; 2 3 import java.net.URL ; 4 import java.util.Set ; 5 6 import org.jboss.classloading.spi.DomainClassLoader; 7 import org.jboss.classloading.spi.Translator; 8 9 public interface UnifiedLoaderRepositoryDCLMBean 10 { 11 public DomainClassLoader newClassLoader(final URL url, boolean addToRepository) 12 throws Exception ; 13 public DomainClassLoader newClassLoader(final URL url, final URL origURL, boolean addToRepository) 14 throws Exception ; 15 16 public void removeClassLoader(DomainClassLoader cl); 17 18 public LoaderRepositoryDomain registerClassLoader(DomainClassLoader ucl); 19 20 public LoaderRepositoryDomain getInstance(); 21 22 public URL [] getURLs(); 23 24 public Translator getTranslator(); 26 public void setTranslator(Translator t); 27 28 31 public Set getPackageClassLoaders(String className); 32 33 37 public String displayClassInfo(String className); 38 39 42 public int getCacheSize(); 43 46 public int getClassLoadersSize(); 47 49 public void flush(); 50 } 51 | Popular Tags |