XmlBeanFactory beanFactory = new XmlBeanFactory(implementation.getResource());
BeanPostProcessor initDestroyProcessor = new InitDestroyAnnotationProcessor();
beanFactory.addBeanPostProcessor(initDestroyProcessor);
BeanPostProcessor referenceProcessor = new ReferenceAnnotationProcessor(component);
beanFactory.addBeanPostProcessor(referenceProcessor);
BeanPostProcessor propertyProcessor = new PropertyAnnotationProcessor(propertyValueObjectFactory, component);
beanFactory.addBeanPostProcessor(propertyProcessor);
BeanPostProcessor componentNameProcessor = new ComponentNameAnnotationProcessor(component);
beanFactory.addBeanPostProcessor(componentNameProcessor);
BeanPostProcessor constructorProcessor = new ConstructorAnnotationProcessor();
beanFactory.addBeanPostProcessor(constructorProcessor);