package org.marketcetera.strategyagent; import org.marketcetera.util.misc.ClassVersion; import org.marketcetera.module.ModuleManagerMXBean; /* $License$ */ /** * The startModule command. This command starts the module * with the specified URN. * * @author anshul@marketcetera.com */ @ClassVersion("$Id: StartModule.java 16154 2012-07-14 16:34:05Z colin $") //$NON-NLS-1$ final class StartModule extends CommandRunner { /** * Creates an instance. */ protected StartModule() { super("startModule"); //$NON-NLS-1$ } @Override final Object runCommand(ModuleManagerMXBean inManager, String inCmdString) { inManager.start(inCmdString); //Return true as it looks better in the log message. return true; } }