public class org.apache.activemq.console.ActiveMQLauncher extends java.lang.Object implements org.apache.commons.daemon.Daemon
{
private java.util.List args;
public void <init>()
{
org.apache.activemq.console.ActiveMQLauncher v;
v := @this: org.apache.activemq.console.ActiveMQLauncher;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public void destroy()
{
org.apache.activemq.console.ActiveMQLauncher v;
v := @this: org.apache.activemq.console.ActiveMQLauncher;
return;
}
public void init(org.apache.commons.daemon.DaemonContext) throws java.lang.Exception
{
java.util.List v;
org.apache.commons.daemon.DaemonContext v;
java.lang.String[] v;
org.apache.activemq.console.ActiveMQLauncher v;
v := @this: org.apache.activemq.console.ActiveMQLauncher;
v := @parameter: org.apache.commons.daemon.DaemonContext;
v = interfaceinvoke v.<org.apache.commons.daemon.DaemonContext: java.lang.String[] getArguments()>();
v = staticinvoke <java.util.Arrays: java.util.List asList(java.lang.Object[])>(v);
v.<org.apache.activemq.console.ActiveMQLauncher: java.util.List args> = v;
return;
}
public void start() throws java.lang.Exception
{
java.io.PrintStream v;
java.util.List v;
org.apache.activemq.console.CommandContext v;
org.apache.activemq.console.formatter.CommandShellOutputFormatter v;
org.apache.activemq.console.command.StartCommand v;
org.apache.activemq.console.ActiveMQLauncher v;
v := @this: org.apache.activemq.console.ActiveMQLauncher;
v = new org.apache.activemq.console.CommandContext;
specialinvoke v.<org.apache.activemq.console.CommandContext: void <init>()>();
v = new org.apache.activemq.console.formatter.CommandShellOutputFormatter;
v = <java.lang.System: java.io.PrintStream out>;
specialinvoke v.<org.apache.activemq.console.formatter.CommandShellOutputFormatter: void <init>(java.io.OutputStream)>(v);
virtualinvoke v.<org.apache.activemq.console.CommandContext: void setFormatter(org.apache.activemq.console.formatter.OutputFormatter)>(v);
v = new org.apache.activemq.console.command.StartCommand;
specialinvoke v.<org.apache.activemq.console.command.StartCommand: void <init>()>();
interfaceinvoke v.<org.apache.activemq.console.command.Command: void setCommandContext(org.apache.activemq.console.CommandContext)>(v);
v = v.<org.apache.activemq.console.ActiveMQLauncher: java.util.List args>;
interfaceinvoke v.<org.apache.activemq.console.command.Command: void execute(java.util.List)>(v);
return;
}
public void stop() throws java.lang.Exception
{
java.io.PrintStream v;
org.apache.activemq.console.CommandContext v;
java.lang.String[] v;
org.apache.activemq.console.formatter.CommandShellOutputFormatter v;
org.apache.activemq.console.ActiveMQLauncher v;
java.util.ArrayList v;
java.util.List v;
org.apache.activemq.console.command.ShutdownCommand v;
v := @this: org.apache.activemq.console.ActiveMQLauncher;
v = new org.apache.activemq.console.CommandContext;
specialinvoke v.<org.apache.activemq.console.CommandContext: void <init>()>();
v = new org.apache.activemq.console.formatter.CommandShellOutputFormatter;
v = <java.lang.System: java.io.PrintStream out>;
specialinvoke v.<org.apache.activemq.console.formatter.CommandShellOutputFormatter: void <init>(java.io.OutputStream)>(v);
virtualinvoke v.<org.apache.activemq.console.CommandContext: void setFormatter(org.apache.activemq.console.formatter.OutputFormatter)>(v);
v = new org.apache.activemq.console.command.ShutdownCommand;
specialinvoke v.<org.apache.activemq.console.command.ShutdownCommand: void <init>()>();
interfaceinvoke v.<org.apache.activemq.console.command.Command: void setCommandContext(org.apache.activemq.console.CommandContext)>(v);
v = new java.util.ArrayList;
v = newarray (java.lang.String)[2];
v[0] = "--jmxlocal";
v[1] = "--all";
v = staticinvoke <java.util.Arrays: java.util.List asList(java.lang.Object[])>(v);
specialinvoke v.<java.util.ArrayList: void <init>(java.util.Collection)>(v);
interfaceinvoke v.<org.apache.activemq.console.command.Command: void execute(java.util.List)>(v);
return;
}
}