if(removeMethod.getBeanMethod().getMethodParams() == null) { final NamedMethodMetaData methodData = removeMethod.getBeanMethod(); final Collection<Method> methods = MethodResolutionUtils.resolveMethods(methodData, componentClass, reflectionIndex); for(final Method method : methods) { if(removeMethod.getBeanMethod().getMethodParams() != null) { final NamedMethodMetaData methodData = removeMethod.getBeanMethod(); final Collection<Method> methods = MethodResolutionUtils.resolveMethods(methodData, componentClass, reflectionIndex); for(final Method method : methods) {
private void addRemoveAnnotations(EJBContainer container, RemoveMethodsMetaData list, String ejbName) throws ClassNotFoundException, NoSuchMethodException, NoSuchFieldException { if (list != null) { for (RemoveMethodMetaData removeMethod : list) { NamedMethodMetaData method = removeMethod.getBeanMethod(); RemoveImpl annotation = new RemoveImpl(removeMethod.isRetainIfException()); addAnnotations(Remove.class, annotation, container, method); } } }
try List<String> methodParameters = removeMethodMetaData.getBeanMethod().getMethodParams(); List<Class<?>> parameterTypes = new ArrayList<Class<?>>(); for (String methodParameter : methodParameters) removeMethod = getBeanClass().getMethod(removeMethodMetaData.getBeanMethod().getMethodName(), parameterTypes.toArray(EMPTY_CLASS_ARRAY)); removeMethods.add(removeMethod);
try List<String> methodParameters = removeMethodMetaData.getBeanMethod().getMethodParams(); List<Class<?>> parameterTypes = new ArrayList<Class<?>>(); for (String methodParameter : methodParameters) removeMethod = getBeanClass().getMethod(removeMethodMetaData.getBeanMethod().getMethodName(), parameterTypes.toArray(EMPTY_CLASS_ARRAY)); removeMethods.add(removeMethod);
if(removeMethod.getBeanMethod().getMethodParams() == null) { final NamedMethodMetaData methodData = removeMethod.getBeanMethod(); final Collection<Method> methods = MethodResolutionUtils.resolveMethods(methodData, componentClass, reflectionIndex); for(final Method method : methods) { if(removeMethod.getBeanMethod().getMethodParams() != null) { final NamedMethodMetaData methodData = removeMethod.getBeanMethod(); final Collection<Method> methods = MethodResolutionUtils.resolveMethods(methodData, componentClass, reflectionIndex); for(final Method method : methods) {
merged.setId(merged.getId()); merged.setBeanMethod(overrideMethod.getBeanMethod());