org.jruby.javasupport.proxy
Interface JavaProxyMethod
- All Superinterfaces:
- IRubyObject
- All Known Implementing Classes:
- JavaProxyClass.ProxyMethodImpl
public interface JavaProxyMethod
- extends IRubyObject
Methods inherited from interface org.jruby.runtime.builtin.IRubyObject |
addFinalizer, anyToString, asString, asSymbol, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToTypeWithCheck, dataGetStruct, dataWrapStruct, dup, eql, eqlInternal, equal, equalInternal, evalSimple, evalWithBinding, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getType, id, infectBy, inspect, instanceVariableNames, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, rbClone, removeFinalizers, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, setFrozen, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint |
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()
getParameterTypes
java.lang.Class[] getParameterTypes()
getExceptionTypes
java.lang.Class[] getExceptionTypes()
getReturnType
java.lang.Class getReturnType()
getDeclaringClass
JavaProxyClass getDeclaringClass()
getModifiers
int getModifiers()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.