com.zmicer.utils
Class ClassLoaderUtils

java.lang.Object
  extended by com.zmicer.utils.ClassLoaderUtils

public class ClassLoaderUtils
extends Object

This class contains the functionality for operaoting with the class loaders related stuff (e.g. retrieving the List of ClassLoader object we would use for retrieving resources etc). $Author:: zmicer $
$Rev:: 57 $
* $Date:: 2007-08-23 09:16:37 #$


Nested Class Summary
static class ClassLoaderUtils.ClassLoaderTypes
          Possible Class Loaders types Enum.
 
Field Summary
static org.apache.log4j.Logger LOG
          Logger instance.
 
Constructor Summary
ClassLoaderUtils()
           
 
Method Summary
static List<ClassLoader> retrieveActualClassLoaders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Logger instance.

Constructor Detail

ClassLoaderUtils

public ClassLoaderUtils()
Method Detail

retrieveActualClassLoaders

public static List<ClassLoader> retrieveActualClassLoaders()
Returns:
the List of ClassLoader objects which may come in handy when we would retrieve the resource, or somewhere else.
Note: the order of the classloader is: 1. one for the current thread context 2. one loaded this class 3. the system classloader


Copyright © 2007 jzmicer.team. All Rights Reserved.