beanDefinition.addMethodInjectionPoint(mip);
/** * Single point of method injection point registration. */ protected void registerPetiteMethodInjectionPoint(String beanName, String methodName, Class[] arguments, String[] references) { BeanDefinition beanDefinition = lookupExistingBeanDefinition(beanName); String[][] ref = PetiteUtil.convertRefToReferences(references); MethodInjectionPoint mip = defineMethodInjectionPoint(beanDefinition.type, methodName, arguments, ref); beanDefinition.addMethodInjectionPoint(mip); }
beanDefinition.addMethodInjectionPoint(mip);