|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides and verifies the setup for a particular web server/servlet engine,
and acts as a factory for corresponding ServerStarter
objects.
Implementations should be OpenTools that register an instance with the
ServerManager
at startup (by implementing initOpenTool
as well).
Method Summary | |
boolean |
attemptDefaultConfiguration()
If implemented, should try to set up server by guessing where the JARs are, based on where JBuilder is installed and the default install location of the server. |
boolean |
configure()
Called when isConfigured (and attemptDefaultConfiguration )
returns false so that UI may be presented to the user for manual configuration. |
java.lang.String |
getClassPath()
The server JARs must be included in the classpath to actually start the server. |
java.lang.String |
getJspImplementationClass()
CodeInsight for JSPs needs the name of the base JSP implementation class, e.g. |
java.lang.String[] |
getPackages()
The debugger needs the names of the packages that comprise the server so that tracing for those classes can be disabled. |
java.lang.String |
getSourcePath()
The source path to the web server is used for JSP CodeInsight, to show descriptive parameter names instead of p0, p1, etc. |
boolean |
isConfigured()
Checks that the server can be started; in particular by knowing where the server JARs are. |
ServerStarter |
newStarter()
Factory method that returns a new instance of a ServerStarter
associated with this particular server setup. |
Method Detail |
public boolean isConfigured()
public boolean attemptDefaultConfiguration()
isConfigured
returns true.com.borland.primetime.properties.PropertyManager.getInstallRootUrl()
public boolean configure()
isConfigured
(and attemptDefaultConfiguration
)
returns false so that UI may be presented to the user for manual configuration.
Also called from the run configuration dialog box when the user chooses to
setup the server.public java.lang.String getClassPath()
ShtmlLoader
/ShtmlLoaderEcho
in com.borland.primetime.runtime.servlet
), entries that point
to that code must also be included in the classpath.
This path is also used for JSP CodeInsight.
public java.lang.String getSourcePath()
public java.lang.String[] getPackages()
public java.lang.String getJspImplementationClass()
public ServerStarter newStarter()
ServerStarter
associated with this particular server setup.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |