Top Description Fields Constructors Methods
org.jruby.embed.osgi.internal

public Class OSGiBundleLibrary

extends Object
implements Library
Class Inheritance
All Implemented Interfaces
org.jruby.runtime.load.Library
Imports
org.jruby.Ruby, org.jruby.util.JRubyClassLoader, org.jruby.runtime.load.Library, org.osgi.framework.Bundle

Attempt at making an osgi bundle an acceptable container for a jruby library

Todo

track the state of the bundle and remove/add the library.

Author
hmalphettes

Field Summary

Modifier and TypeField and Description
private final Bundle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
load(Ruby runtime, boolean wrap)

Implements org.jruby.runtime.load.Library.load.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bundleback to summary
private final Bundle bundle

Constructor Detail

OSGiBundleLibraryback to summary
public OSGiBundleLibrary(Bundle bundle)

Method Detail

loadback to summary
public void load(Ruby runtime, boolean wrap)

Implements org.jruby.runtime.load.Library.load.