public class BeanNameServicePropertiesResolver extends Object implements OsgiServicePropertiesResolver, BundleContextAware, org.springframework.beans.factory.InitializingBean
OsgiServicePropertiesResolver that creates a service property set with the following properties: OsgiServicePropertiesResolver,
OsgiServiceFactoryBeanBEAN_NAME_PROPERTY_KEY, BLUEPRINT_COMP_NAME, SPRING_DM_BEAN_NAME_PROPERTY_KEY| Constructor and Description |
|---|
BeanNameServicePropertiesResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Map |
getServiceProperties(String beanName)
Returns a map containing the service properties associated with the given Spring managed bean identified by its
name.
|
void |
setBundleContext(org.osgi.framework.BundleContext context)
Set the
BundleContext that this bean runs in. |
public Map getServiceProperties(String beanName)
OsgiServicePropertiesResolvergetServiceProperties in interface OsgiServicePropertiesResolverbeanName - Spring managed bean namepublic void setBundleContext(org.osgi.framework.BundleContext context)
BundleContextAwareBundleContext that this bean runs in. Normally this can
be used to initialize an object.setBundleContext in interface BundleContextAwarecontext - the BundleContext object to be used
by this objectCopyright © 2006–2016. All rights reserved.