osgi - Can't get reference of ConfigurationAdmin in RAP -


i'm trying configure osgi-jax-rs-connector in rap application.

the readme says use configuration admin service configuration.

servicereference caref = context     .getservicereference(configurationadmin.class.getname()); 

the code above returns null servicereference. what's correct way obtain reference configurationadmin. bundle needs started before?

if run equinox please make sure config admin bundle (org.eclipse.equinox.cm) installed , started.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -