private Map<String, String> baseProperties = new HashMap<String, String>();
private BundleContext bundleContext;
- private final static String CONTEXT_NAME_PROPERTY = "contextName";
+ public final static String CONTEXT_NAME_PROPERTY = "contextName";
private String contextName;
/**
return bundleContext;
}
- protected String getContextName() {
+ protected void setBundleContext(BundleContext bundleContext) {
+ this.bundleContext = bundleContext;
+ }
+
+ public String getContextName() {
return contextName;
}
+ public void setContextName(String contextName) {
+ this.contextName = contextName;
+ }
+
public void init(BundleContext bundleContext, Map<String, Object> properties) {
this.bundleContext = bundleContext;
for (String key : properties.keySet()) {