Package org.rhq.enterprise.agent.promptcmd

Examples of org.rhq.enterprise.agent.promptcmd.PluginContainerPromptCommand.execute()


                    m_output.println(MSG
                        .getMsg(AgentI18NResourceKeys.RESTARTING_PLUGIN_CONTAINER_AFTER_UPGRADE_MERGE_FAILURE));
                    LOG.info(AgentI18NResourceKeys.RESTARTING_PLUGIN_CONTAINER_AFTER_UPGRADE_MERGE_FAILURE);

                    PluginContainerPromptCommand pcCommand = new PluginContainerPromptCommand();
                    pcCommand.execute(AgentMain.this, new String[] { "stop" });
                    pcCommand.execute(AgentMain.this, new String[] { "start" });
                }
            } catch (Exception e) {
                LOG.error("Failed to restart the plugin container when server connection established.");
            }
View Full Code Here


                        .getMsg(AgentI18NResourceKeys.RESTARTING_PLUGIN_CONTAINER_AFTER_UPGRADE_MERGE_FAILURE));
                    LOG.info(AgentI18NResourceKeys.RESTARTING_PLUGIN_CONTAINER_AFTER_UPGRADE_MERGE_FAILURE);

                    PluginContainerPromptCommand pcCommand = new PluginContainerPromptCommand();
                    pcCommand.execute(AgentMain.this, new String[] { "stop" });
                    pcCommand.execute(AgentMain.this, new String[] { "start" });
                }
            } catch (Exception e) {
                LOG.error("Failed to restart the plugin container when server connection established.");
            }
            return true;
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.