org.eclipse.gemini.blueprint.context
Interface BundleContextAware
- All Known Implementing Classes:
- AbstractOsgiServiceImportFactoryBean, BeanNameServicePropertiesResolver, BundleFactoryBean, ConfigAdminPropertiesFactoryBean, ManagedServiceFactoryFactoryBean, ManagedServiceInstanceTrackerPostProcessor, OsgiServiceCollectionProxyFactoryBean, OsgiServiceFactoryBean, OsgiServiceProxyFactoryBean
public interface BundleContextAware
Interface that enables beans to find the bundle context they are defined in.
Note that in most circumstances there is no need for a bean to implement this
interface.
- Author:
- Adrian Colyer
Method Summary |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Set the BundleContext that this bean runs in. |
setBundleContext
void setBundleContext(org.osgi.framework.BundleContext bundleContext)
- Set the
BundleContext
that this bean runs in. Normally this can
be used to initialize an object.
- Parameters:
bundleContext
- the BundleContext
object to be used
by this object
Copyright © 2006-2012. All Rights Reserved.