|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by an application server to be used by the help plugin.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
boolean |
add(String webAppName,
String plugin,
String path)
Adds the specified webapp from a plugin. |
String |
getHost()
Obtains the host name or ip the app server runs on. |
int |
getPort()
Obtains the port number the app server listens on. |
void |
remove(String webApp,
String plugin)
Removes the specified webapp. |
void |
setAddress(String host,
int port)
Sets the host and port for the app server. |
Method Detail |
public boolean add(String webAppName, String plugin, String path)
It is assumed that webapp names are unique. It is suggested to create unique web app names by prefixing them with the plugin id.
webAppName
- the name of the web application (context name)plugin
- the plugin identifier of the webapppath
- the plugin relative path where the web app WAR or directory is located
public void remove(String webApp, String plugin)
webApp
- the name of the web appplugin
- the plugin containg the web app. Not used now.public String getHost()
public int getPort()
public void setAddress(String host, int port)
host
- the host name or IP address. Pass null when any address on
local machine is to be used.port
- the port number to be used. Pass 0 to let the system select
an available port.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |