org.apache.xbean.classloader
Class ThreadContextClassLoaderFactoryBean

java.lang.Object
  extended by 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"


Constructor Summary
ThreadContextClassLoaderFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadContextClassLoaderFactoryBean

public ThreadContextClassLoaderFactoryBean()
Method Detail

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-2009 Apache Software Foundation. All Rights Reserved.