org.apache.commons.clazz.common
Class ClazzLoaderFactorySupport
java.lang.Object
org.apache.commons.clazz.common.ClazzLoaderFactorySupport
- All Implemented Interfaces:
- org.apache.commons.clazz.ClazzLoaderFactory
- Direct Known Subclasses:
- ExtendedClazzLoaderFactory, StandardClazzLoaderFactory
- public abstract class ClazzLoaderFactorySupport
- extends Object
- implements org.apache.commons.clazz.ClazzLoaderFactory
- Version:
- $Id: ClazzLoaderFactorySupport.java,v 1.5 2004/02/19 23:58:40 scolebourne Exp $
- Author:
- Dmitri Plotnikov
|
Method Summary |
void |
addClazzLoaderClass(Class clazzLoaderClass)
The supplied class should be an implementation of the ClazzLoader
interface. |
protected org.apache.commons.clazz.ClazzLoader |
allocateClazzLoader(org.apache.commons.clazz.ModelClazzLoader modelClazzLoader,
Class javaClass,
ClassLoader contextClassLoader)
|
protected org.apache.commons.clazz.ClazzLoader |
createClazzLoader(ClassLoader contextClassLoader)
|
org.apache.commons.clazz.ClazzLoader |
getClazzLoader(ClassLoader contextClassLoader)
Allocate, configure and cache a clazz loader that uses the supplied class
loader for reflection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.clazz.ClazzLoaderFactory |
getClazzModel |
ClazzLoaderFactorySupport
protected ClazzLoaderFactorySupport()
- Constructor for ClazzLoaderFactorySupport.
getClazzLoader
public org.apache.commons.clazz.ClazzLoader getClazzLoader(ClassLoader contextClassLoader)
- Description copied from interface:
org.apache.commons.clazz.ClazzLoaderFactory
- Allocate, configure and cache a clazz loader that uses the supplied class
loader for reflection.
- Specified by:
getClazzLoader in interface org.apache.commons.clazz.ClazzLoaderFactory
- See Also:
ClazzLoaderFactory.getClazzLoader(ClassLoader)
createClazzLoader
protected org.apache.commons.clazz.ClazzLoader createClazzLoader(ClassLoader contextClassLoader)
allocateClazzLoader
protected org.apache.commons.clazz.ClazzLoader allocateClazzLoader(org.apache.commons.clazz.ModelClazzLoader modelClazzLoader,
Class javaClass,
ClassLoader contextClassLoader)
addClazzLoaderClass
public void addClazzLoaderClass(Class clazzLoaderClass)
- Description copied from interface:
org.apache.commons.clazz.ClazzLoaderFactory
- The supplied class should be an implementation of the ClazzLoader
interface. When ClazzLoaderFactory creates a new clazz loader, it will
instantiate all registered implementations and group them together.
- Specified by:
addClazzLoaderClass in interface org.apache.commons.clazz.ClazzLoaderFactory
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.