org.eclipse.gemini.blueprint.extender
Interface OsgiServiceDependencyFactory
public interface OsgiServiceDependencyFactory
Interface to be implemented by beans wishing to provide OSGi service
dependencies required by the
ApplicationContext. By default, the
extender will postpone the context initialization until the dependencies (to
OSGi services) are all satisfied at the same time.
- Author:
- Andy Piper, Costin Leau
- See Also:
ApplicationContext,
*
getServiceDependencies
Collection<OsgiServiceDependency> getServiceDependencies(BundleContext bundleContext,
ConfigurableListableBeanFactory beanFactory)
throws BeansException,
InvalidSyntaxException,
BundleException
- Returns the OSGi service dependencies applying for the given bean factory
running inside the given bundle context. The returned collection should
contain only
OsgiServiceDependency objects.
- Parameters:
bundleContext - bundlebeanFactory - the bean factory used by the application context
- Returns:
- collection of service dependencies
- Throws:
BeansException - in case of factory errors
InvalidSyntaxException - in case of OSGi filters errors
BundleException - in case of OSGi bundle errors
Copyright © 2006-2010 Spring Framework. All Rights Reserved.