org.jruby.runtime.load
Class ClassExtensionLibrary

java.lang.Object
  extended byorg.jruby.runtime.load.ClassExtensionLibrary
All Implemented Interfaces:
Library

public class ClassExtensionLibrary
extends java.lang.Object
implements Library

The ClassExtensionLibrary wraps a class which implements BasicLibraryService, and when asked to load the service, does a basicLoad of the BasicLibraryService. When the time comes to add other loading mechanisms for loading a class, this is the place where they will be added. The load method will check interface you can load a class with, and do the right thing.


Constructor Summary
ClassExtensionLibrary(java.lang.Class extension)
           
 
Method Summary
 void load(Ruby runtime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassExtensionLibrary

public ClassExtensionLibrary(java.lang.Class extension)
Method Detail

load

public void load(Ruby runtime)
          throws java.io.IOException
Specified by:
load in interface Library
Throws:
java.io.IOException


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