Bug 564848

Summary: Consider using OSGi ds services in TeamPlugin for debugRegistration
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: alex.blewitt, Lars.Vogel
Version: 4.14   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lars Vogel CLA 2020-07-01 12:39:11 EDT
We should check if the debug registration in TeamPlugin can be replaced with a service.

@Override
	public void start(BundleContext context) throws Exception {
		super.start(context);

		// register debug options listener
		Hashtable<String, String> properties = new Hashtable<>(2);
		properties.put(DebugOptions.LISTENER_SYMBOLICNAME, ID);
		debugRegistration = context.registerService(DebugOptionsListener.class, Policy.DEBUG_OPTIONS_LISTENER, properties);

		Team.startup();
	}