Hi! I am getting problem when I try to update Configuration object.
I am trying to use Configuration objects from Configuration Admin Service in
the next way:
conflist[i].getProperties().put("ACTIVE", Boolean.FALSE);
conflist[i].update();
if ((Boolean) conflist[i].getProperties().get("ACTIVE")) {
System.out.println("ERROR UPDATING CONFIGURATION OBJECT");
} else {
System.out.println("UPDATING IS DONE!");
}
Why I get the message "ERROR UPDATING CONFIGURATION OBJECT" if I am putting
the value of ACTIVE key to FALSE in the previous line, is there any problem
updating configurations object with updated method?
Thanks in advance
David
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev