com.composum.sling.clientlibs.service.ClientlibConfigurationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of composum-nodes-commons Show documentation
Show all versions of composum-nodes-commons Show documentation
general components and objects to use the Sling API
package com.composum.sling.clientlibs.service;
import org.osgi.framework.Constants;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Modified;
import org.osgi.service.metatype.annotations.Designate;
@Component(
property = {
Constants.SERVICE_DESCRIPTION + "=Composum Nodes (Core) Clientlib Configuration"
}
)
@Designate(ocd = ClientlibConfiguration.Config.class)
public class ClientlibConfigurationService implements ClientlibConfiguration {
protected Config config;
@Override
public Config getConfig() {
return config;
}
@Modified
@Activate
protected void activate(final Config config) {
this.config = config;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy