org.apache.commons.clazz.common
Class ClazzLoaderFactorySupport
java.lang.Object
org.apache.commons.clazz.common.ClazzLoaderFactorySupport
- All Implemented Interfaces:
- ClazzLoaderFactory
- Direct Known Subclasses:
- ExtendedClazzLoaderFactory, StandardClazzLoaderFactory
public abstract class ClazzLoaderFactorySupport
- extends Object
- implements ClazzLoaderFactory
- Version:
- $Id: ClazzLoaderFactorySupport.java 155436 2005-02-26 13:17:48Z dirkv $
- Author:
- Dmitri Plotnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClazzLoaderFactorySupport
protected ClazzLoaderFactorySupport()
- Constructor for ClazzLoaderFactorySupport.
getClazzLoader
public ClazzLoader getClazzLoader(ClassLoader contextClassLoader)
- Description copied from interface:
ClazzLoaderFactory
- Allocate, configure and cache a clazz loader that uses the supplied class
loader for reflection.
- Specified by:
getClazzLoader
in interface ClazzLoaderFactory
- See Also:
ClazzLoaderFactory.getClazzLoader(ClassLoader)
createClazzLoader
protected ClazzLoader createClazzLoader(ClassLoader contextClassLoader)
allocateClazzLoader
protected ClazzLoader allocateClazzLoader(ModelClazzLoader modelClazzLoader,
Class javaClass,
ClassLoader contextClassLoader)
addClazzLoaderClass
public void addClazzLoaderClass(Class clazzLoaderClass)
- Description copied from interface:
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 ClazzLoaderFactory
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.