org.apache.cactus.util
class ClassLoaderUtils

java.lang.Object
  |
  +--org.apache.cactus.util.ClassLoaderUtils
Known Advisors:
LogAspect

public class ClassLoaderUtils
extends java.lang.Object

Utiliy methods related to class loading in a webapp environment.

Version:
$Id: ClassLoaderUtils.html,v 1.1 2003/04/14 12:27:28 sinisa Exp $
Author:
Vincent Massol

Constructor Summary
ClassLoaderUtils()
           
 
Method Summary
static Class loadClass(String theClassName, Class theReferrer)
           Affected by: LogAspect
static Class loadClassFromContextClassLoader(String theClassName)
           Affected by: LogAspect
static Class loadClassFromWebappClassLoader(String theClassName, Class theReferrer)
           Affected by: LogAspect
static ResourceBundle loadPropertyResourceBundle(String theName, Class theReferrer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderUtils

public ClassLoaderUtils()
Method Detail

loadClass

public static Class loadClass(String theClassName,
                              Class theReferrer)
                       throws java.lang.ClassNotFoundException
Affected by:
around() in LogAspect.

loadClassFromContextClassLoader

public static Class loadClassFromContextClassLoader(String theClassName)
                                             throws java.lang.ClassNotFoundException
Affected by:
around() in LogAspect.

loadClassFromWebappClassLoader

public static Class loadClassFromWebappClassLoader(String theClassName,
                                                   Class theReferrer)
                                            throws java.lang.ClassNotFoundException
Affected by:
around() in LogAspect.

loadPropertyResourceBundle

public static ResourceBundle loadPropertyResourceBundle(String theName,
                                                        Class theReferrer)


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.