org.jruby.runtime.load
Class ClassExtensionLibrary

java.lang.Object
  extended by org.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.String name, java.lang.Class extension)
           
 
Method Summary
 java.lang.String getName()
           
 void load(Ruby runtime, boolean wrap)
           
 
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.String name,
                             java.lang.Class extension)
Method Detail

getName

public java.lang.String getName()

load

public void load(Ruby runtime,
                 boolean wrap)
Specified by:
load in interface Library


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