public MethodJoinpoint getMethodJoinPoint(BeanInfo info, ClassLoader cl, String name, List<ParameterMetaData> parameters, boolean isStatic, boolean isPublic) throws Throwable { return Configurator.findMethod(info, cl, name, parameters, isStatic, isPublic); }
/** * Find a method * * @param info the bean info * @param cl the classloader * @param name the method name * @param parameters the parameter metadata * @param isStatic whether the method is static * @param isPublic whether the method is public * @return the method join point * @throws Throwable for any error */ public static MethodJoinpoint findMethod(BeanInfo info, ClassLoader cl, String name, List<ParameterMetaData> parameters, boolean isStatic, boolean isPublic) throws Throwable { boolean trace = log.isTraceEnabled(); return findMethod(trace, info, cl, name, parameters, isStatic, isPublic); }
MethodJoinpoint joinPoint = findMethod(trace, factoryInfo, cl, metaData.getFactoryMethod(), parameters, false, true); joinPoint.setTarget(factory); MethodInfo minfo = joinPoint.getMethodInfo(); MethodJoinpoint joinPoint = findMethod(trace, factoryInfo, cl, metaData.getFactoryMethod(), parameters, true, true); MethodInfo minfo = joinPoint.getMethodInfo();