org.springsource.loaded.ri
Class ReloadedTypeInvoker
java.lang.Object
org.springsource.loaded.ri.Invoker
org.springsource.loaded.ri.ReloadedTypeInvoker
public abstract class ReloadedTypeInvoker
- extends Invoker
Common super type for Invoker for a method on a reloaded type.
- Since:
- 0.5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
invoke
public abstract java.lang.Object invoke(java.lang.Object target,
java.lang.Object... params)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Specified by:
invoke in class Invoker
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
createJavaMethod
public java.lang.reflect.Method createJavaMethod()
- Create a 'mock' Java Method which is dependent on ReflectiveInterceptor to catch calls to invoke.
- Specified by:
createJavaMethod in class Invoker
getModifiers
public int getModifiers()
- Specified by:
getModifiers in class Invoker
getName
public java.lang.String getName()
- Specified by:
getName in class Invoker
getMethodDescriptor
public java.lang.String getMethodDescriptor()
- Specified by:
getMethodDescriptor in class Invoker
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in class Invoker
create
public static Invoker create(ReloadableTypeMethodProvider declaringType,
MethodMember methodMember)