org.jruby.javasupport.proxy
Interface JavaProxyMethod
- All Superinterfaces:
- IRubyObject, ParameterTypes
- All Known Implementing Classes:
- JavaProxyClass.ProxyMethodImpl
public interface JavaProxyMethod
- extends IRubyObject, ParameterTypes
Methods inherited from interface org.jruby.runtime.builtin.IRubyObject |
addFinalizer, anyToString, asJavaString, asString, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, checkStringType, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToInteger, convertToString, dataGetStruct, dataWrapStruct, dup, eql, getInstanceVariables, getInternalVariables, getJavaClass, getMetaClass, getRuntime, getSingletonClass, getType, getVariableCount, getVariableList, getVariableNameList, hasVariables, id, infectBy, inspect, isClass, isFrozen, isImmediate, isModule, isNil, isTaint, isTrue, op_eqq, op_equal, rbClone, removeFinalizers, respondsTo, setFrozen, setTaint, syncVariables |
getSuperMethod
java.lang.reflect.Method getSuperMethod()
getState
java.lang.Object getState()
- get state (cache target callable?) in the proxy method
setState
void setState(java.lang.Object state)
- store state (cache target callable?) in the proxy method
hasSuperImplementation
boolean hasSuperImplementation()
- is it possible to call the super method?
invoke
java.lang.Object invoke(java.lang.Object proxy,
java.lang.Object[] args)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Parameters:
proxy
- args
-
- Returns:
-
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
- if this ProxyMethod has no super implementation
defaultResult
java.lang.Object defaultResult()
getName
java.lang.String getName()
getReturnType
java.lang.Class<?> getReturnType()
getDeclaringClass
JavaProxyClass getDeclaringClass()
getModifiers
int getModifiers()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.