org.codehaus.waffle.registrar
Class AbstractRubyAwareRegistrar

java.lang.Object
  extended by org.codehaus.waffle.registrar.AbstractRegistrar
      extended by org.codehaus.waffle.registrar.AbstractRubyAwareRegistrar
All Implemented Interfaces:
Registrar, RubyAwareRegistrar

public abstract class AbstractRubyAwareRegistrar
extends AbstractRegistrar
implements RubyAwareRegistrar

A Registrar that provides registration methods for Ruby scripts.

Author:
Michael Ward

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.registrar.Registrar
Registrar.Injection
 
Constructor Summary
AbstractRubyAwareRegistrar(Registrar delegate)
           
 
Method Summary
 void registerRubyScript(java.lang.String key, java.lang.String className)
          Register a ruby script with Waffle
 
Methods inherited from class org.codehaus.waffle.registrar.AbstractRegistrar
application, isRegistered, register, register, registerInstance, registerInstance, registerNonCaching, registerNonCaching, request, session, useInjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRubyAwareRegistrar

public AbstractRubyAwareRegistrar(Registrar delegate)
Method Detail

registerRubyScript

public void registerRubyScript(java.lang.String key,
                               java.lang.String className)
Description copied from interface: RubyAwareRegistrar
Register a ruby script with Waffle

Specified by:
registerRubyScript in interface RubyAwareRegistrar
Parameters:
key - the name this script should be registred under
className - represent the name of the Ruby class being registred


Copyright © 2008. All Rights Reserved.