1 package org
.argeo
.slc
.execution
;
3 import org
.osgi
.framework
.BundleContext
;
4 import org
.springframework
.osgi
.context
.BundleContextAware
;
6 public class OsgiExecutionModule
extends AbstractSpringExecutionModule
implements
8 private BundleContext bundleContext
;
10 public String
getName() {
11 return bundleContext
.getBundle().getSymbolicName();
14 public String
getVersion() {
15 return bundleContext
.getBundle().getHeaders().get("Bundle-Version")
19 public void setBundleContext(BundleContext bundleContext
) {
20 this.bundleContext
= bundleContext
;