de.deepamehta.plugins.config
Class ConfigPlugin

java.lang.Object
  extended by de.deepamehta.core.osgi.PluginActivator
      extended by de.deepamehta.plugins.config.ConfigPlugin
All Implemented Interfaces:
de.deepamehta.core.osgi.PluginContext, de.deepamehta.core.service.event.PostCreateTopicListener, de.deepamehta.core.service.EventListener, ConfigService, org.osgi.framework.BundleActivator

public class ConfigPlugin
extends de.deepamehta.core.osgi.PluginActivator
implements ConfigService, de.deepamehta.core.service.event.PostCreateTopicListener


Field Summary
 
Fields inherited from class de.deepamehta.core.osgi.PluginActivator
bundle, dms
 
Constructor Summary
ConfigPlugin()
           
 
Method Summary
 void createConfigTopic(String configTypeUri, de.deepamehta.core.Topic topic)
           
 de.deepamehta.plugins.config.ConfigDefinitions getConfigDefinitions()
           
 de.deepamehta.core.RelatedTopic getConfigTopic(String configTypeUri, long topicId)
           
 void postCreateTopic(de.deepamehta.core.Topic topic)
           
 void registerConfigDefinition(ConfigDefinition configDef)
           
 void unregisterConfigDefinition(String configTypeUri)
           
 
Methods inherited from class de.deepamehta.core.osgi.PluginActivator
getBundleContext, getPluginName, getStaticResource, getUri, init, preInstall, publishFileSystem, serviceArrived, serviceGone, setCoreService, shutdown, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigPlugin

public ConfigPlugin()
Method Detail

getConfigTopic

public de.deepamehta.core.RelatedTopic getConfigTopic(String configTypeUri,
                                                      long topicId)
Specified by:
getConfigTopic in interface ConfigService

createConfigTopic

public void createConfigTopic(String configTypeUri,
                              de.deepamehta.core.Topic topic)
Specified by:
createConfigTopic in interface ConfigService

registerConfigDefinition

public void registerConfigDefinition(ConfigDefinition configDef)
Specified by:
registerConfigDefinition in interface ConfigService

unregisterConfigDefinition

public void unregisterConfigDefinition(String configTypeUri)
Specified by:
unregisterConfigDefinition in interface ConfigService

getConfigDefinitions

public de.deepamehta.plugins.config.ConfigDefinitions getConfigDefinitions()
Specified by:
getConfigDefinitions in interface ConfigService

postCreateTopic

public void postCreateTopic(de.deepamehta.core.Topic topic)
Specified by:
postCreateTopic in interface de.deepamehta.core.service.event.PostCreateTopicListener


Copyright © 2015. All rights reserved.