public class OSGiLoadService extends LoadService
LoadService.BailoutSearcher, LoadService.ClassLoaderSearcher, LoadService.ExtensionSearcher, LoadService.LoadSearcher, LoadService.NormalSearcher, LoadService.ScriptClassSearcher, LoadService.SearchState, LoadService.SourceBailoutSearcher, LoadService.SuffixType| Modifier and Type | Field and Description | 
|---|---|
| static String | OSGI_BUNDLE_CLASSPATH_SCHEME | 
| static RubyInstanceConfig.LoadServiceCreator | OSGI_DEFAULT | 
builtinLibraries, extensionPattern, jarFiles, librarySearcher, loadedFeatures, loadedFeaturesDup, loadPath, requireLocks, runtime, searchers, sourcePattern| Constructor and Description | 
|---|
| OSGiLoadService(Ruby runtime)Default constructor
 Optional constructor (why?) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Library | createLibrary(LoadService.SearchState state,
             LoadServiceResource resource)Support for 'bundle:/' to look for libraries in osgi bundles. | 
| protected LoadServiceResource | findFileInClasspath(String name)Support for 'bundle:/' to look for libraries in osgi bundles
 or classes or ruby files. | 
| protected Library | findLibraryBySearchState(LoadService.SearchState state) | 
addBuiltinLibrary, addFeatureToIndex, addLoadedFeature, addLoadedFeature, addPath, addPaths, addPaths, autoloadRequire, buildClassName, checkEmptyLoad, classpathFilenameFromURL, debugLogFound, debugLogFound, debugLogTry, featureAlreadyLoaded, findBuiltinLibrary, findFileForLoad, findLibraryWithClassloaders, findLibraryWithoutCWD, getClassPathResource, getFileName, getJarFile, getLoadedFeatures, getLoadPath, getLoadPathEntry, init, isFeatureInIndex, isJarfileLibrary, isRequireable, load, loadFromClassLoader, loadPathLooksLikeClasspathURL, loadPathLooksLikeJarURL, provide, reflectedLoad, removeBuiltinLibrary, removeInternalLoadedFeature, require, reraiseRaiseExceptions, resolveLoadName, smartLoad, tryLoadingLibraryOrScript, tryResourceAsIs, tryResourceAsIs, tryResourceFromCWD, tryResourceFromDotSlash, tryResourceFromHome, tryResourceFromJarURL, tryResourceFromJarURLWithLoadPath, tryResourceFromLoadPath, tryResourceFromLoadPathOrURL, warnCircularRequirepublic static final String OSGI_BUNDLE_CLASSPATH_SCHEME
public static RubyInstanceConfig.LoadServiceCreator OSGI_DEFAULT
public OSGiLoadService(Ruby runtime)
runtime - protected Library findLibraryBySearchState(LoadService.SearchState state)
findLibraryBySearchState in class LoadServiceprotected LoadServiceResource findFileInClasspath(String name)
findFileInClasspath in class LoadServicename - the file to find, this is a path nameprotected Library createLibrary(LoadService.SearchState state, LoadServiceResource resource)
createLibrary in class LoadServiceCopyright © 2001-2015 JRuby. All Rights Reserved.