Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed typo

...

Code Block
public class Activator implements BundleActivator
{
	public void start(BundleContext context) throws Exception 
	{	
		ServiceReference ref = context.getServiceReference(PreferencesService.class.getName());
		if (ref != null)
		{
			PreferencesService service = (PreferencesService) context.getService(ref);
	
			//...
		}
	}

	//..

To access the system routeroot

Code Block
		Preferences systemRoot = service.getSystemPreferences();

...