org.jruby.runtime
Interface MethodFactory.MethodDefiningCallback

Enclosing class:
MethodFactory

public static interface MethodFactory.MethodDefiningCallback

For batched method construction, the logic necessary to bind resulting method objects into a target module/class must be provided as a callback. This interface should be implemented by code calling any batched methods on this MethodFactory.


Method Summary
 void define(RubyModule targetMetaClass, JavaMethodDescriptor desc, DynamicMethod dynamicMethod)
           
 

Method Detail

define

void define(RubyModule targetMetaClass,
            JavaMethodDescriptor desc,
            DynamicMethod dynamicMethod)


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