org.apache.xbean.classloader
Class ThreadContextClassLoaderFactoryBean
java.lang.Object
org.apache.xbean.classloader.ThreadContextClassLoaderFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class ThreadContextClassLoaderFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean
A factory bean to expose the current thread context class loader.
* @org.apache.xbean.XBean namespace="http://xbean.apache.org/schemas/classloader"
element="threadContextClassLoader" description="References the ClassLoader of the current thread context"
- Version:
- $Revision: 437551 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadContextClassLoaderFactoryBean
public ThreadContextClassLoaderFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2005-2011. All Rights Reserved.