org.jboss.mx.loading
Interface UnifiedLoaderRepository3MBean

All Superinterfaces:
UnifiedLoaderRepositoryMBean (src)
All Known Implementing Classes:
UnifiedLoaderRepository3 (src)

public interface UnifiedLoaderRepository3MBean
extends UnifiedLoaderRepositoryMBean (src)

The UnifiedLoaderRepository3 (ULR) management interface


Method Summary
 java.lang.String displayClassInfo(java.lang.String className)
          A utility method that iterates over all repository class loader and display the class information for every UCL that contains the given className
 void flush()
          Flush the ULR classes cache
 int getCacheSize()
          Get the number of classes loaded into the ULR cache.
 int getClassLoadersSize()
          Get the number of UnifiedClassLoader3s (UCLs) in the ULR
 java.util.Set getPackageClassLoaders(java.lang.String className)
          Called by LoadMgr to obtain all class loaders for the given className
 
Methods inherited from interface org.jboss.mx.loading.UnifiedLoaderRepositoryMBean (src)
getInstance, getTranslator, getURLs, getWrappingClassLoader, newClassLoader, newClassLoader, registerClassLoader, removeClassLoader, setTranslator
 

Method Detail

getPackageClassLoaders

public java.util.Set getPackageClassLoaders(java.lang.String className)
Called by LoadMgr to obtain all class loaders for the given className

Returns:
LinkedList, may be null

displayClassInfo

public java.lang.String displayClassInfo(java.lang.String className)
A utility method that iterates over all repository class loader and display the class information for every UCL that contains the given className


getCacheSize

public int getCacheSize()
Get the number of classes loaded into the ULR cache.

Returns:
the classes cache size.

getClassLoadersSize

public int getClassLoadersSize()
Get the number of UnifiedClassLoader3s (UCLs) in the ULR

Returns:
the number of UCLs in the ULR

flush

public void flush()
Flush the ULR classes cache