org.jruby.embed.osgi.utils
Class OSGiBundleClassLoaderHelper

java.lang.Object
  extended by org.jruby.embed.osgi.utils.OSGiBundleClassLoaderHelper

public class OSGiBundleClassLoaderHelper
extends java.lang.Object

Various introspection tricks to access the file system from OSGi. Tested for felix and equinox.

Author:
hmalphettes

Constructor Summary
OSGiBundleClassLoaderHelper()
           
 
Method Summary
static java.lang.ClassLoader getBundleClassLoader(org.osgi.framework.Bundle bundle)
          Assuming the bundle is started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiBundleClassLoaderHelper

public OSGiBundleClassLoaderHelper()
Method Detail

getBundleClassLoader

public static java.lang.ClassLoader getBundleClassLoader(org.osgi.framework.Bundle bundle)
Assuming the bundle is started.

Parameters:
bundle -
Returns:
classloader object


Copyright © 2002-2009 JRuby Team. All Rights Reserved.