org.apache.geronimo.commands
Class StartServerCommand

java.lang.Object
  extended by org.apache.geronimo.gshell.command.CommandSupport
      extended by org.apache.geronimo.commands.BaseJavaCommand
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.command.Command
org.apache.geronimo.gshell.command.Command.Result
 
Field Summary
 
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
 
Constructor Summary
StartServerCommand()
           
 
Method Summary
protected  Object doExecute()
           
 String getHostname()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getPassword()
           
 int getPort()
           
 Object getProperty(String name)
           
 boolean getQuiet()
           
 boolean getSecure()
           
 List getStartModules()
           
 String getUsername()
           
 int getVerbose()
           
 Object invokeMethod(String name, Object args)
           
 boolean isQuiet()
           
 boolean isSecure()
           
 void setHostname(String value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setPassword(String value)
           
 void setPort(int value)
           
 void setProperty(String name, Object value)
           
 void setQuiet(boolean value)
           
 void setSecure(boolean value)
           
 void setStartModules(List value)
           
 void setUsername(String value)
           
 void setVerbose(int value)
           
 
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
 

Constructor Detail

StartServerCommand

public StartServerCommand()
Method Detail

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.