org.apache.geronimo.commands
Class StartServerCommand
java.lang.Object
org.apache.geronimo.gshell.command.CommandSupport
org.apache.geronimo.commands.BaseJavaCommand
org.apache.geronimo.commands.StartServerCommand
- All Implemented Interfaces:
- org.apache.geronimo.gshell.command.Command
public class StartServerCommand
- extends BaseJavaCommand
Starts a new Geronimo server instance.
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.command.Command |
org.apache.geronimo.gshell.command.Command.Result |
Fields inherited from class org.apache.geronimo.gshell.command.CommandSupport |
context, io, log, variables |
Fields inherited from interface org.apache.geronimo.gshell.command.Command |
FAILURE, SUCCESS |
Methods inherited from class org.apache.geronimo.commands.BaseJavaCommand |
addPropertyFrom, getAnt, getBackground, getGeronimoHome, getJavaAgent, getJavaAgentJar, getJavaFlags, getJavaVirtualMachine, getLogFile, getProfiles, getProperties, getShellInfo, getTimeout, isBackground, prefixSystemPath, processScripts, setAnt, setBackground, setGeronimoHome, setGeronimoPropertyFrom, setJavaAgent, setJavaFlags, setJavaVirtualMachine, setLogFile, setProfiles, setProperties, setPropertyFrom, setShellInfo, setTimeout |
Methods inherited from class org.apache.geronimo.gshell.command.CommandSupport |
displayHelp, execute, getDescription, getId, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartServerCommand
public StartServerCommand()
getQuiet
public boolean getQuiet()
isQuiet
public boolean isQuiet()
setQuiet
public void setQuiet(boolean value)
getVerbose
public int getVerbose()
setVerbose
public void setVerbose(int value)
getStartModules
public List getStartModules()
setStartModules
public void setStartModules(List value)
getHostname
public String getHostname()
setHostname
public void setHostname(String value)
getPort
public int getPort()
setPort
public void setPort(int value)
getUsername
public String getUsername()
setUsername
public void setUsername(String value)
getPassword
public String getPassword()
setPassword
public void setPassword(String value)
getSecure
public boolean getSecure()
isSecure
public boolean isSecure()
setSecure
public void setSecure(boolean value)
doExecute
protected Object doExecute()
throws Exception
- Specified by:
doExecute
in class org.apache.geronimo.gshell.command.CommandSupport
- Throws:
Exception
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Overrides:
getMetaClass
in class BaseJavaCommand
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Overrides:
setMetaClass
in class BaseJavaCommand
invokeMethod
public Object invokeMethod(String name,
Object args)
- Overrides:
invokeMethod
in class BaseJavaCommand
getProperty
public Object getProperty(String name)
- Overrides:
getProperty
in class BaseJavaCommand
setProperty
public void setProperty(String name,
Object value)
- Overrides:
setProperty
in class BaseJavaCommand
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.