|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.load.LoadService
org.jruby.embed.osgi.internal.OSGiLoadService
public class OSGiLoadService
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.runtime.load.LoadService |
---|
LoadService.AlreadyLoaded, LoadService.BailoutSearcher, LoadService.ClassLoaderSearcher, LoadService.ExtensionSearcher, LoadService.LoadSearcher, LoadService.NormalSearcher, LoadService.ScriptClassSearcher, LoadService.SearchState, LoadService.SourceBailoutSearcher, LoadService.SuffixType |
Field Summary | |
---|---|
static java.lang.String |
OSGI_BUNDLE_CLASSPATH_SCHEME
|
static RubyInstanceConfig.LoadServiceCreator |
OSGI_DEFAULT
|
Fields inherited from class org.jruby.runtime.load.LoadService |
---|
autoloadMap, builtinLibraries, caseInsensitiveFS, extensionPattern, jarFiles, loadedFeatures, loadedFeaturesInternal, loadPath, requireLocks, runtime, searchers, sourcePattern |
Constructor Summary | |
---|---|
OSGiLoadService(Ruby runtime)
Default constructor Optional constructor (why?) |
Method Summary | |
---|---|
protected Library |
createLibrary(LoadService.SearchState state,
LoadServiceResource resource)
Support for 'bundle:/' to look for libraries in osgi bundles. |
protected LoadServiceResource |
findFileInClasspath(java.lang.String name)
Support for 'bundle:/' to look for libraries in osgi bundles or classes or ruby files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OSGI_BUNDLE_CLASSPATH_SCHEME
public static RubyInstanceConfig.LoadServiceCreator OSGI_DEFAULT
Constructor Detail |
---|
public OSGiLoadService(Ruby runtime)
runtime
- Method Detail |
---|
protected LoadServiceResource findFileInClasspath(java.lang.String name)
findFileInClasspath
in class LoadService
name
- the file to find, this is a path name
protected Library createLibrary(LoadService.SearchState state, LoadServiceResource resource)
createLibrary
in class LoadService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |