JBossMX Parent POM 6.0.0.GA

org.jboss.mx.loading
Interface UnifiedLoaderRepository3MBean

All Superinterfaces:
UnifiedLoaderRepositoryMBean
All Known Implementing Classes:
HeirarchicalLoaderRepository3, UnifiedLoaderRepository3

public interface UnifiedLoaderRepository3MBean
extends UnifiedLoaderRepositoryMBean

The UnifiedLoaderRepository3 (ULR) management interface

Version:
$Revision: 85671 $
Author:
Scott.Stark@jboss.org

Method Summary
 String displayClassInfo(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
 Set<ClassLoader> getPackageClassLoaders(String className)
          Called by LoadMgr to obtain all class loaders for the given className
 
Methods inherited from interface org.jboss.mx.loading.UnifiedLoaderRepositoryMBean
getInstance, getTranslator, getURLs, getWrappingClassLoader, newClassLoader, newClassLoader, registerClassLoader, removeClassLoader, setTranslator
 

Method Detail

getPackageClassLoaders

Set<ClassLoader> getPackageClassLoaders(String className)
Called by LoadMgr to obtain all class loaders for the given className

Parameters:
className -
Returns:
LinkedList, may be null

displayClassInfo

String displayClassInfo(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

Parameters:
className -
Returns:
the class info

getCacheSize

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

Returns:
the classes cache size.

getClassLoadersSize

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

Returns:
the number of UCLs in the ULR

flush

void flush()
Flush the ULR classes cache


JBossMX Parent POM 6.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.