Package org.xmlBlaster.util.plugin

Examples of org.xmlBlaster.util.plugin.I_Plugin.shutdown()


            }
         }
         else {
            try {
               I_Plugin plugin = this.glob.getPluginManager().getPluginObject(pluginConfig.getPluginInfo());
               plugin.shutdown();
               this.glob.getPluginManager().removeFromPluginCache(pluginConfig.getPluginInfo().getId());
            }
            catch (XmlBlasterException e) {
               log.warning("Failed to remove plugin: " + e.toString());
               throw new IllegalArgumentException("Failed to create plugin: " + e.toString());
View Full Code Here


            continue;

         try {
            PluginInfo pluginInfo = pluginConfig.getPluginInfo();
            I_Plugin plugin = this.glob.getPluginManager().getPluginObject(pluginInfo);
            plugin.shutdown();
            this.glob.getPluginManager().removeFromPluginCache(pluginInfo.getId());
            log.fine("fireRunlevelEvent: run level '" + from + "' to '" + to + "' plugin '" + pluginConfig.getId() + "' shutdown");
         }
         catch (Throwable ex) {
            ErrorCode code = pluginConfig.getDownAction().getOnFail();
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.