Search Java Code Snippets


  Help us in improving the repository. Add new snippets through 'Submit Code Snippet ' link.





#Java - Code Snippets for '#Org.osgi.service.cm.Configuration' - 1 code snippet(s) found

 Sample 1. Code Sample / Example / Snippet of org.osgi.service.cm.Configuration

    protected void deleteConfig(String pid, String factoryPid) {

try {

Configuration config = getConfiguration(pid, factoryPid);

config.delete();

m_log.log(LogService.LOG_DEBUG, "Removed configuration for pid '" + pid + "'");

}

catch (Exception e) {

m_log.log(LogService.LOG_ERROR, "Unable to remove configuration for pid '" + pid + "'", e);

}

}


   Like      Feedback      org.osgi.service.cm.Configuration



Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner