Skip to content

Instantly share code, notes, and snippets.

@nateyolles
nateyolles / OsgiConfigurationServiceImpl.java
Created October 12, 2015 02:01
AEM / Sling service to read and write OSGi config properties
package com.nateyolles.sling.publick.services.impl;
import java.io.IOException;
import java.util.Dictionary;
import java.util.Hashtable;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Reference;