File tree 2 files changed +7
-1
lines changed
com.kuebler.osgi.ds.equinox/src/com/kuebler/osgi/ds/equinox
com.kuebler.osgi.ds.ui/src/org/osgi/ds/ui
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
import org .osgi .service .component .annotations .Reference ;
13
13
import org .osgi .service .component .annotations .ReferenceCardinality ;
14
14
import org .osgi .service .component .annotations .ReferencePolicy ;
15
+ import org .osgi .service .component .runtime .serial .ServiceComponentRuntime ;
15
16
16
17
/**
17
18
*
@@ -39,6 +40,10 @@ public void activate() throws IOException {
39
40
if (instanceArea != null ) {
40
41
properties .put ("osgi.instance.area" , instanceArea );
41
42
}
43
+ properties .put ("service.exported.interfaces" , "*" );
44
+ properties .put ("service.exported.configs" , "ecf.generic.server" );
45
+ properties .put ("objectClass" ,ServiceComponentRuntime .class .getName ());
46
+
42
47
configuration .update (properties );
43
48
}
44
49
Original file line number Diff line number Diff line change @@ -267,7 +267,8 @@ private Composite createVersionTable(Composite parent) {
267
267
_tableViewer .setContentProvider (new ArrayContentProvider ());
268
268
// _tableViewer.setLabelProvider(new EndpointLabelProvider());
269
269
270
- _tableViewer .setInput (serviceTracker .getService ().getDiscoveredEndpoints ());
270
+ EndpointDescription [] endpoints = serviceTracker .getService ().getDiscoveredEndpoints ();
271
+ _tableViewer .setInput (endpoints );
271
272
272
273
// createContextMenu();
273
274
You can’t perform that action at this time.
0 commit comments