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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -