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
Post a Comment