com.sun.enterprise.deployment.util
Class VirtualServerInfo

java.lang.Object
  extended by com.sun.enterprise.deployment.util.VirtualServerInfo

public class VirtualServerInfo
extends java.lang.Object

This class holds information about a web server virtual engine configuration

Author:
Jerome Dochez

Constructor Summary
VirtualServerInfo(java.lang.String protocol, java.lang.String host, int port)
          Creates a new instance of VirtualServerInfo
 
Method Summary
 java.lang.String getHost()
          Getter for property serverName.
 int getPort()
          Getter for property port.
 java.lang.String getProtocol()
          Getter for property protocol.
 java.net.URL getWebServerRootURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualServerInfo

public VirtualServerInfo(java.lang.String protocol,
                         java.lang.String host,
                         int port)
Creates a new instance of VirtualServerInfo

Method Detail

getHost

public java.lang.String getHost()
Getter for property serverName.

Returns:
Value of property serverName.

getPort

public int getPort()
Getter for property port.

Returns:
value of property port.

getProtocol

public java.lang.String getProtocol()
Getter for property protocol.

Returns:
Value of property protocol.

getWebServerRootURL

public java.net.URL getWebServerRootURL()
                                 throws java.net.MalformedURLException
Returns:
the web server root URL
Throws:
java.net.MalformedURLException


Copyright © 2012 GlassFish Community. All Rights Reserved.