Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.gemini.blueprint.context.support
Class DefaultContextClassLoaderProvider

    java.lang.Object
      org.eclipse.gemini.blueprint.context.support.DefaultContextClassLoaderProvider

All Implemented Interfaces:
  ContextClassLoaderProvider, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware

    public class DefaultContextClassLoaderProvider

extends Object
implements ContextClassLoaderProvider, org.springframework.beans.factory.BeanClassLoaderAware

Default implementation of `ContextClassLoaderProvider` interface. It returns the given application context class loader if it is set, falling back to the current thread context class loader otherwise (in effect, leaving the TCCL as it is).

Author:
  Costin Leau

Constructor Summary
`DefaultContextClassLoaderProvider()`

Method Summary
`ClassLoader` | `getContextClassLoader()` Returns the context class loader to be used by the OSGi application context during its life cycle events.
`void` | `setBeanClassLoader(ClassLoader classLoader)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultContextClassLoaderProvider

    public DefaultContextClassLoaderProvider()

Method Detail

### getContextClassLoader

    public ClassLoader getContextClassLoader()

  Description copied from interface: `ContextClassLoaderProvider`
  Returns the context class loader to be used by the OSGi application context during its life cycle events.

  Specified by:
    `getContextClassLoader` in interface `ContextClassLoaderProvider`
  Returns:
    class loader used as a thread context class loader

### setBeanClassLoader

    public void setBeanClassLoader(ClassLoader classLoader)

  Specified by:
    `setBeanClassLoader` in interface `org.springframework.beans.factory.BeanClassLoaderAware`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013. All Rights Reserved.