public interface OsgiServiceDependencyFactory
ApplicationContext
. By default, the
extender will postpone the context initialization until the dependencies (to
OSGi services) are all satisfied at the same time.ApplicationContext
,
*
Modifier and Type | Method and Description |
---|---|
Collection<OsgiServiceDependency> |
getServiceDependencies(org.osgi.framework.BundleContext bundleContext,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Returns the OSGi service dependencies applying for the given bean factory
running inside the given bundle context.
|
Collection<OsgiServiceDependency> getServiceDependencies(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
OsgiServiceDependency
objects.bundleContext
- bundlebeanFactory
- the bean factory used by the application contextorg.springframework.beans.BeansException
- in case of factory errorsorg.osgi.framework.InvalidSyntaxException
- in case of OSGi filters errorsorg.osgi.framework.BundleException
- in case of OSGi bundle errorsCopyright © 2006–2016. All rights reserved.