Package systems.dmx.config
Class ConfigPlugin
- java.lang.Object
-
- systems.dmx.core.osgi.PluginActivator
-
- systems.dmx.config.ConfigPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
,ConfigService
,PluginContext
,PostCreateTopic
,EventListener
public class ConfigPlugin extends PluginActivator implements ConfigService, PostCreateTopic
-
-
Field Summary
-
Fields inherited from class systems.dmx.core.osgi.PluginActivator
bundle, dmx, mf
-
-
Constructor Summary
Constructors Constructor Description ConfigPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createConfigTopic(String configTypeUri, Topic topic)
systems.dmx.config.ConfigDefs
getConfigDefs()
RelatedTopic
getConfigTopic(String configTypeUri, long topicId)
void
postCreateTopic(Topic topic)
void
registerConfigDef(ConfigDef configDef)
void
unregisterConfigDef(String configTypeUri)
DirectivesResponse
updateConfigTopic(long topicId, TopicModel updateModel)
-
Methods inherited from class systems.dmx.core.osgi.PluginActivator
getBundleContext, getPluginName, getStaticResource, getUri, init, preInstall, publishFileSystem, serviceArrived, serviceGone, setCoreService, shutdown, start, stop, toString
-
-
-
-
Method Detail
-
getConfigDefs
public systems.dmx.config.ConfigDefs getConfigDefs()
- Specified by:
getConfigDefs
in interfaceConfigService
-
getConfigTopic
public RelatedTopic getConfigTopic(String configTypeUri, long topicId)
- Specified by:
getConfigTopic
in interfaceConfigService
-
updateConfigTopic
public DirectivesResponse updateConfigTopic(long topicId, TopicModel updateModel)
- Specified by:
updateConfigTopic
in interfaceConfigService
-
createConfigTopic
public void createConfigTopic(String configTypeUri, Topic topic)
- Specified by:
createConfigTopic
in interfaceConfigService
-
registerConfigDef
public void registerConfigDef(ConfigDef configDef)
- Specified by:
registerConfigDef
in interfaceConfigService
-
unregisterConfigDef
public void unregisterConfigDef(String configTypeUri)
- Specified by:
unregisterConfigDef
in interfaceConfigService
-
postCreateTopic
public void postCreateTopic(Topic topic)
- Specified by:
postCreateTopic
in interfacePostCreateTopic
-
-