test
Classe JonasLauncher

public class JonasLauncher
extends PureJavaServerLauncher

Titre :

Description :

Copyright : Copyright (c) 2003

Société :

Version:
1.0
Author:
non attribuable
Détail du constructeur

JonasLauncher

public JonasLauncher(Server p_JonasServer)
Constructor
Parameters:
p_JonasServer - The server

Détail de la méthode

preStart

public boolean preStart()
This function is called before the server process is launched. It gives a server a chance to do some pre-startup tasks, if necessary. The server can return false to abort the normal startup process.
Returns:
boolean indicating whether the appserver can be run.

configureLauncher

public void configureLauncher(JBProject project,
                              java.util.Map propertyMap,
                              RunJavaProcessTracker tracker,
                              Url workDir)
Configures this particular launcher instance with a set of services to simulate a run. This service set is not validated, and the propertyMap, tracker, and workDir fields are set to null.
Parameters:
project - The project using this server
propertyMap - Arrays of services, no duplicates, no particular order; should not be empty, should not be null
tracker -
workDir -
Throws:
VetoException -

getDefaultVmParameters

public String getDefaultVmParameters()
This function returns the default VM parameters
Returns:
String The VM parameters

getDefaultNecessaryVmParameters

public String getDefaultNecessaryVmParameters()
These VM parameters are ones without which the server will not run. Unless it is really necessary, you don't want to resort to using this function. These params will not be shown to the user in any UI, and will be added to the front of the VM parameter list for the server, when it will be run.
Returns:
the vm parameters without which this server cannot be run; may be an empty string, but should not be null

getDefaultArguments

public String getDefaultArguments()
Returns:
the arguments with which this server should be run; may be an empty string, but should not be null.

getDefaultNecessaryArguments

public String getDefaultNecessaryArguments()
These arguments are ones without which the server will not run. Unless it is really necessary, you don't want to resort to using this function. These args will not be shown to the user in any UI, and will be added to the front of the argument list for the server, when it will be run.
Returns:
the arguments without which this server cannot be run; may be an empty string, but should not be null.

getDefaultClassName

public String getDefaultClassName()
It is the class that must be launch to start the server
Returns:
String The name of the class(es)

getCommand

public String getCommand()
Returns:
String The command