/** * Invoke a method * * @param object the object to invoke * @param jpf the join point factory * @param name the name of the method * @param paramTypes the parameter types * @param params the parameters * @return the result of the invocation * @throws Throwable for any error */ public static Object invoke(Object object, JoinpointFactory jpf, String name, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = getMethodJoinpoint(object, jpf, name, paramTypes, params); return joinpoint.dispatch(); }
/** * Invoke a method * * @param object the object to invoke * @param jpf the join point factory * @param name the name of the method * @param paramTypes the parameter types * @param params the parameters * @return the result of the invocation * @throws Throwable for any error */ public static Object invoke(Object object, JoinpointFactory jpf, String name, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = getMethodJoinpoint(object, jpf, name, paramTypes, params); return joinpoint.dispatch(); }
public Object invokeStatic(String beanName, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = Config.getStaticMethodJoinpoint(getJoinpointFactory(), beanName, paramTypes, params); return joinpoint.dispatch(); }
public Object invokeStatic(String name, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = Config.getStaticMethodJoinpoint(getJoinpointFactory(), name, paramTypes, params); return joinpoint.dispatch(); }
public Object invoke(Object bean, String beanName, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = Config.getMethodJoinpoint(bean, getJoinpointFactory(), beanName, paramTypes, params); return joinpoint.dispatch(); }
public Object invoke(Object bean, String name, String[] paramTypes, Object[] params) throws Throwable { MethodJoinpoint joinpoint = Config.getMethodJoinpoint(bean, getJoinpointFactory(), name, paramTypes, params); return joinpoint.dispatch(); }