org.springframework.osgi.context.support
Interface ContextClassLoaderProvider

All Known Implementing Classes:
DefaultContextClassLoaderProvider

public interface ContextClassLoaderProvider

Strategy interface for plugging various thread context class loaders during an OSGi application context critical life cycle events.

Author:
Costin Leau
See Also:
Thread.getContextClassLoader(), AbstractDelegatedExecutionApplicationContext, ResourceLoader.getClassLoader(), BeanClassLoaderAware, ApplicationContextAware

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

Method Detail

getContextClassLoader

ClassLoader getContextClassLoader()
Returns the context class loader to be used by the OSGi application context during its life cycle events.

Returns:
class loader used as a thread context class loader


Copyright © 2006-2011 Spring Framework. All Rights Reserved.