List beanFactoryPostProcessors = getBeanFactoryPostProcessors(explodedServiceUnitRoot.getAbsolutePath()); for (Iterator iter = beanFactoryPostProcessors.iterator(); iter.hasNext();) { BeanFactoryPostProcessor processor = (BeanFactoryPostProcessor) iter.next(); context.addBeanFactoryPostProcessor(processor); }
	public void init(File explodedServiceUnitRoot) {				FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(		   "file:///" + explodedServiceUnitRoot.getAbsolutePath() + "/"						+ getXBeanFile());                		for (int i = 0; i < context.getBeanDefinitionNames().length; i++) {			Object bean = context.getBean(context.getBeanDefinitionNames()[i]);			if (isValidEndpoint(bean)) {				// The provides are generic while the consumes need to				// be handled by the implementation				Endpoint endpoint = (Endpoint) bean;				provides.addAll(getProvides(endpoint));				consumes.addAll(getConsumes(endpoint));			}		}	}