Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.mx » loading » [javadoc | source]
org.jboss.mx.loading
public class: UnifiedLoaderRepository2 [javadoc | source]
java.lang.Object
   org.jboss.mx.loading.LoaderRepository
      org.jboss.mx.loading.UnifiedLoaderRepository2

All Implemented Interfaces:
    UnifiedLoaderRepository2MBean, NotificationBroadcaster, ServerConstants, ClassLoaderRepository

Direct Known Subclasses:
    HeirarchicalLoaderRepository2

Deprecated! Use - the UnifiedLoaderRepository3 version

An obsolate implementation of the LoaderRepository interface
Field Summary
public static final  ReentrantLock repositoryLock     
Fields inherited from org.jboss.mx.loading.LoaderRepository:
loaders,  instance,  translator
Method from org.jboss.mx.loading.UnifiedLoaderRepository2 Summary:
acquire,   addClassLoader,   addClassLoaderURL,   addNotificationListener,   attempt,   findClass,   getInstance,   getNotificationInfo,   getResource,   getResources,   getURLs,   loadClass,   loadClass,   loadClassWithout,   newClassLoader,   newClassLoader,   registerClassLoader,   release,   removeClassLoader,   removeNotificationListener
Methods from org.jboss.mx.loading.LoaderRepository:
addClassLoader,   addClassLoaderURL,   cacheLoadedClass,   clear,   compare,   getCachedClass,   getLoaders,   getNativeClassForName,   getResource,   getResources,   getTranslator,   getURLs,   loadClass,   loadClass,   loadClassBefore,   loadClassWithout,   newClassLoader,   newClassLoader,   removeClassLoader,   reverseCompare,   setTranslator
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mx.loading.UnifiedLoaderRepository2 Detail:
 public static  void acquire() 
      Deprecated!
 public  void addClassLoader(ClassLoader loader) 
      Deprecated!
 public boolean addClassLoaderURL(ClassLoader cl,
    URL url) 
      Deprecated!
 public  void addNotificationListener(NotificationListener listener,
    NotificationFilter filter,
    Object handback) throws IllegalArgumentException 
      Deprecated!
    addNotificationListener delegates to the broadcaster object we hold.
 public static boolean attempt(long waitMS) 
      Deprecated!
 public Class findClass(String name) 
      Deprecated!
    This is a utility method that iterates through the current class loaders and tries to find the given class name. It is never invoked as part of class or resource loading.
 public LoaderRepository getInstance() 
      Deprecated!
 public MBeanNotificationInfo[] getNotificationInfo() 
      Deprecated!
 public URL getResource(String name,
    ClassLoader cl) 
      Deprecated!
    Loads a resource following the Unified ClassLoader architecture
 public  void getResources(String name,
    ClassLoader cl,
    List urls) 
      Deprecated!
    Not implemented
 public URL[] getURLs() 
      Deprecated!
    This is a utility method a listing of the URL for all UnifiedClassLoaders associated with the repository. It is never called in response to class or resource loading.
 public Class loadClass(String className) throws ClassNotFoundException 
      Deprecated!
 public Class loadClass(String name,
    boolean resolve,
    ClassLoader cl) throws ClassNotFoundException 
      Deprecated!
    Loads a class following the Unified ClassLoader architecture.
 public Class loadClassWithout(ClassLoader loader,
    String className) throws ClassNotFoundException 
      Deprecated!
 public UnifiedClassLoader newClassLoader(URL url,
    boolean addToRepository) throws Exception 
      Deprecated!
 public UnifiedClassLoader newClassLoader(URL url,
    URL origURL,
    boolean addToRepository) throws Exception 
      Deprecated!
 public LoaderRepository registerClassLoader(UnifiedClassLoader ucl) 
      Deprecated!
    This method provides an mbean-accessible way to add a UnifiedClassloader, and sends a notification when it is added.
 public static  void release() 
      Deprecated!
 public  void removeClassLoader(ClassLoader cl) 
      Deprecated!
 public  void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException 
      Deprecated!
    removeNotificationListener delegates to our broadcaster object