public class OsgiSpringConfigurationPostProcessor extends Object implements org.springframework.osgi.extender.OsgiBeanFactoryPostProcessor
OrderedConfigurer
and OsgiSpringConfigurer. Every time a new bundle with existing
spring definition is registered inside of the BundleContext, this
extender loops through its defined configurers and looks-up for
eventual configuration objects inside of them.| Constructor and Description |
|---|
OsgiSpringConfigurationPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<OsgiSpringConfigurer> |
getOsgiSpringConfigurers() |
List<OrderedConfigurer> |
getSpringConfigurers() |
void |
postProcessBeanFactory(org.osgi.framework.BundleContext bundleContext,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setOsgiSpringConfigurers(List<OsgiSpringConfigurer> osgiSpringConfigurers) |
void |
setSpringConfigurers(List<OrderedConfigurer> springConfigurers) |
public OsgiSpringConfigurationPostProcessor()
public void postProcessBeanFactory(org.osgi.framework.BundleContext bundleContext,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException,
org.osgi.framework.InvalidSyntaxException,
org.osgi.framework.BundleException
postProcessBeanFactory in interface org.springframework.osgi.extender.OsgiBeanFactoryPostProcessororg.springframework.beans.BeansExceptionorg.osgi.framework.InvalidSyntaxExceptionorg.osgi.framework.BundleExceptionpublic List<OrderedConfigurer> getSpringConfigurers()
public void setSpringConfigurers(List<OrderedConfigurer> springConfigurers)
public List<OsgiSpringConfigurer> getOsgiSpringConfigurers()
public void setOsgiSpringConfigurers(List<OsgiSpringConfigurer> osgiSpringConfigurers)
Copyright © 2015 Open eHealth Foundation. All rights reserved.