org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi
Interface ServerInstanceDescriptor


public interface ServerInstanceDescriptor

Descriptor providing extra (and optional) information about the server instance.

Since:
1.46

Method Summary
 String getHostname()
          Returns the hostname of the server.
 int getHttpPort()
          Returns the HTTP port of the server.
 boolean isLocal()
          Returns true if the server is installed locally, false otherwise.
 

Method Detail

getHttpPort

int getHttpPort()
Returns the HTTP port of the server.

Returns:
the HTTP port of the server

getHostname

String getHostname()
Returns the hostname of the server. Returned name is usable to reach the server from the computer where IDE runs.

Returns:
the hostname of the server

isLocal

boolean isLocal()
Returns true if the server is installed locally, false otherwise.

Returns:
true if the server is installed locally

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.