org.jboss.aop.advice
Class AspectFactoryWithClassLoaderSupport
java.lang.Object
org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport
- All Implemented Interfaces:
- AspectFactory, AspectFactoryWithClassLoader
- Direct Known Subclasses:
- AspectFactoryDelegator, GenericAspectFactory
public abstract class AspectFactoryWithClassLoaderSupport
- extends Object
- implements AspectFactory, AspectFactoryWithClassLoader
Helper class to be able to set the classloader needed for loading up the aspects in the aspectfactories
- Version:
- $Revision: 77480 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AspectFactoryWithClassLoaderSupport
protected AspectFactoryWithClassLoaderSupport()
setClassLoader
public void setClassLoader(ClassLoader cl)
- Specified by:
setClassLoader
in interface AspectFactoryWithClassLoader
getLoader
protected ClassLoader getLoader()
pushScopedClassLoader
public void pushScopedClassLoader(ClassLoader scopedCl)
- Specified by:
pushScopedClassLoader
in interface AspectFactoryWithClassLoader
popScopedClassLoader
public void popScopedClassLoader()
- Specified by:
popScopedClassLoader
in interface AspectFactoryWithClassLoader
peekScopedClassLoader
public ClassLoader peekScopedClassLoader()
- Specified by:
peekScopedClassLoader
in interface AspectFactoryWithClassLoader
loadClass
protected Class<?> loadClass(String name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.