Class JsonConfigInstaller
- java.lang.Object
-
- org.apache.karaf.config.core.impl.JsonConfigInstaller
-
- All Implemented Interfaces:
org.apache.felix.fileinstall.ArtifactInstaller,org.apache.felix.fileinstall.ArtifactListener,org.osgi.service.cm.ConfigurationListener
public class JsonConfigInstaller extends Object implements org.apache.felix.fileinstall.ArtifactInstaller, org.osgi.service.cm.ConfigurationListener
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_EXTENSIONstatic StringEXT_ENV_VARstatic StringEXT_SYS_PROP
-
Constructor Summary
Constructors Constructor Description JsonConfigInstaller(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(File artifact)voidconfigurationEvent(org.osgi.service.cm.ConfigurationEvent event)voidinstall(File artifact)voiduninstall(File artifact)voidupdate(File artifact)
-
-
-
Field Detail
-
EXT_ENV_VAR
public static final String EXT_ENV_VAR
- See Also:
- Constant Field Values
-
EXT_SYS_PROP
public static final String EXT_SYS_PROP
- See Also:
- Constant Field Values
-
DEFAULT_EXTENSION
public static final String DEFAULT_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
canHandle
public boolean canHandle(File artifact)
- Specified by:
canHandlein interfaceorg.apache.felix.fileinstall.ArtifactListener
-
install
public void install(File artifact) throws Exception
- Specified by:
installin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception
-
update
public void update(File artifact) throws Exception
- Specified by:
updatein interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception
-
uninstall
public void uninstall(File artifact) throws Exception
- Specified by:
uninstallin interfaceorg.apache.felix.fileinstall.ArtifactInstaller- Throws:
Exception
-
configurationEvent
public void configurationEvent(org.osgi.service.cm.ConfigurationEvent event)
- Specified by:
configurationEventin interfaceorg.osgi.service.cm.ConfigurationListener
-
-