org.apache.geronimo.commands
Class BaseJavaCommand
java.lang.Object
org.apache.geronimo.gshell.command.CommandSupport
org.apache.geronimo.commands.BaseJavaCommand
- All Implemented Interfaces:
- org.apache.geronimo.gshell.command.Command
- Direct Known Subclasses:
- StartClientCommand, StartServerCommand
public abstract class BaseJavaCommand
- extends org.apache.geronimo.gshell.command.CommandSupport
Support for commands which spin off a Java process.
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.gshell.command.CommandSupport |
displayHelp, doExecute, execute, getDescription, getId, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseJavaCommand
public BaseJavaCommand()
getAnt
public AntBuilder getAnt()
setAnt
public void setAnt(AntBuilder value)
getShellInfo
public org.apache.geronimo.gshell.shell.ShellInfo getShellInfo()
setShellInfo
public void setShellInfo(org.apache.geronimo.gshell.shell.ShellInfo value)
getGeronimoHome
public File getGeronimoHome()
setGeronimoHome
public void setGeronimoHome(File value)
getJavaVirtualMachine
public File getJavaVirtualMachine()
setJavaVirtualMachine
public void setJavaVirtualMachine(File value)
getJavaAgent
public String getJavaAgent()
setJavaAgent
public void setJavaAgent(String value)
getLogFile
public File getLogFile()
setLogFile
public void setLogFile(File value)
getBackground
public boolean getBackground()
isBackground
public boolean isBackground()
setBackground
public void setBackground(boolean value)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int value)
getProfiles
public List getProfiles()
setProfiles
public void setProfiles(List value)
getProperties
public Map getProperties()
setProperties
public void setProperties(Map value)
getJavaFlags
public List getJavaFlags()
setJavaFlags
public void setJavaFlags(List value)
addPropertyFrom
protected void addPropertyFrom(String nameValue,
String prefix)
setPropertyFrom
protected void setPropertyFrom(String nameValue)
setGeronimoPropertyFrom
protected void setGeronimoPropertyFrom(String nameValue)
getJavaAgentJar
protected File getJavaAgentJar()
processScripts
protected void processScripts()
- Process custom rc.d scripts.
prefixSystemPath
protected String prefixSystemPath(String name,
File file)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
invokeMethod
public Object invokeMethod(String name,
Object args)
getProperty
public Object getProperty(String name)
setProperty
public void setProperty(String name,
Object value)
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.