public abstract class GFLauncher extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminRealmKeyFile()
Returns the admin realm key file for the server, if the admin realm is a
FileRealm.
|
List<String> |
getCommandLine() |
int |
getDebugPort()
Return the port number of the debug port, or -1 if debugging is not
enabled.
|
int |
getExitValue()
Returns the exit value of the process.
|
GFLauncherInfo |
getInfo() |
List<String> |
getJvmOptions() |
String |
getLogFilename()
Get the location of the server logfile
|
Process |
getProcess()
You don't want to call this before calling launch because it would not
make sense.
|
com.sun.enterprise.universal.process.ProcessStreamDrainer |
getProcessStreamDrainer()
A ProcessStreamDrainer is always attached to every Process created here.
|
boolean |
isDebugSuspend()
Return true if suspend=y AND debugging is on.
|
boolean |
isSecureAdminEnabled()
Returns true if secure admin is enabled
|
void |
launch()
Launches the server.
|
void |
launchJVM(List<String> cmdsIn) |
boolean |
needsAutoUpgrade()
Does this domain need to be automatically upgraded before it can be
started?
|
boolean |
needsManualUpgrade()
Does this domain need to be manually upgraded before it can be started?
|
void |
relaunch()
Launches the server - but forces the setup() to go through again.
|
void |
setup() |
public final GFLauncherInfo getInfo()
public final void launch()
throws GFLauncherException
GFLauncherExceptionpublic final void relaunch()
throws GFLauncherException
GFLauncherExceptionpublic final void launchJVM(List<String> cmdsIn) throws GFLauncherException
GFLauncherExceptionpublic void setup()
throws GFLauncherException,
com.sun.enterprise.universal.xml.MiniXmlParserException
GFLauncherExceptioncom.sun.enterprise.universal.xml.MiniXmlParserExceptionpublic String getAdminRealmKeyFile()
public boolean isSecureAdminEnabled()
public final int getExitValue()
public final Process getProcess() throws GFLauncherException
GFLauncherException - if the Process has not been created yet -
call launch() before calling this method.public final com.sun.enterprise.universal.process.ProcessStreamDrainer getProcessStreamDrainer()
throws GFLauncherException
GFLauncherException - if the process has not launched yetProcessStreamDrainerpublic String getLogFilename() throws GFLauncherException
GFLauncherException - if you call this method too earlypublic final int getDebugPort()
public final boolean isDebugSuspend()
public final boolean needsAutoUpgrade()
public final boolean needsManualUpgrade()
Copyright © 2015. All rights reserved.