|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.runtime.CallbackFactory
org.jruby.runtime.callback.InvocationCallbackFactory
public class InvocationCallbackFactory
| Field Summary | |
|---|---|
protected JRubyClassLoader |
classLoader
|
static int |
DISPATCHER_ARGS_INDEX
|
static int |
DISPATCHER_BLOCK_INDEX
|
static int |
DISPATCHER_CALLTYPE_INDEX
|
static int |
DISPATCHER_METHOD_INDEX
|
static int |
DISPATCHER_NAME_INDEX
|
static int |
DISPATCHER_RUBYMODULE_INDEX
|
static int |
DISPATCHER_RUNTIME_INDEX
|
static int |
DISPATCHER_SELF_INDEX
|
static int |
DISPATCHER_THREADCONTEXT_INDEX
|
protected Ruby |
runtime
|
| Fields inherited from class org.jruby.runtime.CallbackFactory |
|---|
NULL_CLASS_ARRAY |
| Constructor Summary | |
|---|---|
InvocationCallbackFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader)
|
|
| Method Summary | |
|---|---|
void |
callMethodMissingIfNecessary(SkinnyMethodAdapter mv,
Label afterCall,
Label okCall)
Deprecated. |
Dispatcher |
createDispatcher(RubyClass metaClass)
Deprecated. |
protected java.lang.Class |
endCall(ClassWriter cw,
MethodVisitor mv,
java.lang.String name)
|
CompiledBlockCallback |
getBlockCallback(java.lang.String method,
java.lang.Object scriptObject)
|
Callback |
getBlockMethod(java.lang.String method)
Deprecated. |
Callback |
getFastMethod(java.lang.String method)
Deprecated. |
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1)
Deprecated. |
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
Deprecated. |
Callback |
getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
Deprecated. |
Callback |
getFastOptMethod(java.lang.String method)
Deprecated. |
Callback |
getFastOptSingletonMethod(java.lang.String method)
Deprecated. |
Callback |
getFastSingletonMethod(java.lang.String method)
Deprecated. |
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1)
Deprecated. |
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
Deprecated. |
Callback |
getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
Deprecated. |
Callback |
getMethod(java.lang.String method)
Deprecated. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1)
Deprecated. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
Deprecated. |
Callback |
getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
Deprecated. |
Callback |
getOptMethod(java.lang.String method)
Deprecated. |
Callback |
getOptSingletonMethod(java.lang.String method)
Deprecated. |
Callback |
getSingletonMethod(java.lang.String method)
Deprecated. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1)
Deprecated. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
Deprecated. |
Callback |
getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
Deprecated. |
| Methods inherited from class org.jruby.runtime.CallbackFactory |
|---|
createFactory, createFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final JRubyClassLoader classLoader
protected final Ruby runtime
public static final int DISPATCHER_THREADCONTEXT_INDEX
public static final int DISPATCHER_SELF_INDEX
public static final int DISPATCHER_RUBYMODULE_INDEX
public static final int DISPATCHER_METHOD_INDEX
public static final int DISPATCHER_NAME_INDEX
public static final int DISPATCHER_ARGS_INDEX
public static final int DISPATCHER_CALLTYPE_INDEX
public static final int DISPATCHER_BLOCK_INDEX
public static final int DISPATCHER_RUNTIME_INDEX
| Constructor Detail |
|---|
public InvocationCallbackFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader)
| Method Detail |
|---|
protected java.lang.Class endCall(ClassWriter cw,
MethodVisitor mv,
java.lang.String name)
@Deprecated public Callback getMethod(java.lang.String method)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
@Deprecated
public Callback getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this method
@Deprecated
public Callback getMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this methodarg3 - the java class of the second argument for this method
@Deprecated public Callback getSingletonMethod(java.lang.String method)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
@Deprecated
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated public Callback getBlockMethod(java.lang.String method)
getBlockMethod in class CallbackFactory
public CompiledBlockCallback getBlockCallback(java.lang.String method,
java.lang.Object scriptObject)
getBlockCallback in class CallbackFactory@Deprecated public Callback getOptSingletonMethod(java.lang.String method)
CallbackFactory
getOptSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated public Callback getOptMethod(java.lang.String method)
CallbackFactory
getOptMethod in class CallbackFactorymethod - name of the method
@Deprecated public Callback getFastMethod(java.lang.String method)
CallbackFactory
getFastMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getFastMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
@Deprecated
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getFastMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this method
@Deprecated
public Callback getFastMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getFastMethod in class CallbackFactorymethod - name of the methodarg1 - the java class of the first argument for this methodarg2 - the java class of the second argument for this methodarg3 - the java class of the second argument for this method
@Deprecated public Callback getFastSingletonMethod(java.lang.String method)
CallbackFactory
getFastSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1)
CallbackFactory
getFastSingletonMethod in class CallbackFactorymethod - name of the methodarg1 - the class of the only argument for this method
@Deprecated
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2)
CallbackFactory
getFastSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated
public Callback getFastSingletonMethod(java.lang.String method,
java.lang.Class arg1,
java.lang.Class arg2,
java.lang.Class arg3)
CallbackFactory
getFastSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated public Callback getFastOptMethod(java.lang.String method)
CallbackFactory
getFastOptMethod in class CallbackFactorymethod - name of the method
@Deprecated public Callback getFastOptSingletonMethod(java.lang.String method)
CallbackFactory
getFastOptSingletonMethod in class CallbackFactorymethod - name of the method
@Deprecated public Dispatcher createDispatcher(RubyClass metaClass)
CallbackFactory
createDispatcher in class CallbackFactory
@Deprecated
public void callMethodMissingIfNecessary(SkinnyMethodAdapter mv,
Label afterCall,
Label okCall)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||