Examples of PlugInConfig


Examples of org.xmlBlaster.engine.runlevel.PluginConfig

    * @param pluginInfo
    * @return
    */
   private PluginInfo checkPluginInfoInRunLevelInfos(PluginInfo pluginInfo) throws XmlBlasterException {
      if (this.glob.isServerSide() && this.glob instanceof ServerScope) {
         PluginConfig config = ((ServerScope)this.glob).getPluginHolder().getPluginConfig(this.glob.getStrippedId(), pluginInfo.getId());
         if (config == null) // normally it is stored as Type without the version information.
            config = ((ServerScope)this.glob).getPluginHolder().getPluginConfig(this.glob.getStrippedId(), pluginInfo.getType());
         if (config == null)
            return pluginInfo;
         PluginInfo runLevelPluginInfo = config.getPluginInfo();
         if (runLevelPluginInfo == null || runLevelPluginInfo == pluginInfo)
            return pluginInfo;
         if (pluginInfo.getParameters() == null || pluginInfo.getParameters().size() < 1)
            return runLevelPluginInfo;
         if (pluginInfo.getParameters() == runLevelPluginInfo.getParameters())
View Full Code Here

Examples of org.xtreemfs.babudb.config.PluginConfig

       
        // start all plugins registered
        for (String configPath : dbs.getConfig().getPlugins()) {
           
            String main = null;
            PluginConfig c = new PluginConfig(configPath);
            String pluginPath = c.getPluginLibraryPath();
            try {
                // load all classes from the plugin JARs
                main = loadJar(pluginPath, "Main");
                if (main == null) {
                    throw new Exception("main class (extending PluginMain) not found!");
View Full Code Here

Examples of uk.co.jacekk.bukkit.baseplugin.config.PluginConfig

  public SimpleIRCBot bot;
 
  public void onEnable(){
    super.onEnable(true);
   
    this.config = new PluginConfig(new File(this.baseDirPath + File.separator + "config.yml"), Config.class, this.log);
    this.aliasStore = new DataStore(new File(this.baseDirPath + File.separator + "aliases.txt"), true);
    this.aliasStore.load();
   
    this.ircAliases = new HashMap<String, String>(this.aliasStore.size());
    this.gameAliases = new HashMap<String, String>(this.aliasStore.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.