Package org.jruby.embed.osgi.internal
Class ReflectiveOSGiClassLoaderAdapter
java.lang.Object
org.jruby.embed.osgi.internal.ReflectiveOSGiClassLoaderAdapter
- All Implemented Interfaces:
IOSGiClassLoaderAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClassLoader
(org.osgi.framework.Bundle bundle) Delegate to the old OSGiBundleClassLoaderHelper
-
Constructor Details
-
ReflectiveOSGiClassLoaderAdapter
public ReflectiveOSGiClassLoaderAdapter()
-
-
Method Details
-
getClassLoader
Delegate to the old OSGiBundleClassLoaderHelper- Specified by:
getClassLoader
in interfaceIOSGiClassLoaderAdapter
- Parameters:
bundle
-- Returns:
- the classloader associated with the given Bundle, or null if there is no classloader.
- See Also:
-