com.caucho.server.resin
Class ResinVar

java.lang.Object
  extended by com.caucho.server.resin.ResinVar

public class ResinVar
extends java.lang.Object


Method Summary
 java.lang.String getAddress()
          Returns the local address
 Path getConf()
          Returns the resin config.
 Path getHome()
          Returns the resin home.
 java.lang.String getHostName()
          Returns the local hostname
 java.lang.String getHttpAddress()
          Returns the port (backward compat)
 int getHttpPort()
          Returns the port (backward compat)
 java.lang.String getHttpsAddress()
          Returns the port (backward compat)
 int getHttpsPort()
          Returns the port (backward compat)
 java.lang.String getId()
          Deprecated. use getServerId()
 Path getLogDirectory()
           
 int getPort()
          Returns the port (backward compat)
 Path getRoot()
          Returns the root directory.
 Path getRootDir()
          Deprecated. use getRoot()
 Path getRootDirectory()
          Deprecated. use getRoot()
 java.lang.String getServerId()
          Returns the -server id
 java.lang.String getUserName()
          Returns the user
 java.lang.String getVersion()
          Returns the version
 java.lang.String getVersionDate()
          Returns the version date
 boolean isProfessional()
          Returns true for Resin professional.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getServerId

public java.lang.String getServerId()
Returns the -server id


getId

public java.lang.String getId()
Deprecated. use getServerId()


getAddress

public java.lang.String getAddress()
Returns the local address

Returns:
IP address

getConf

public Path getConf()
Returns the resin config.


getHome

public Path getHome()
Returns the resin home.


getRoot

public Path getRoot()
Returns the root directory.

Returns:
the root directory

getRootDir

public Path getRootDir()
Deprecated. use getRoot()


getRootDirectory

public Path getRootDirectory()
Deprecated. use getRoot()


getLogDirectory

public Path getLogDirectory()

getUserName

public java.lang.String getUserName()
Returns the user


getPort

public int getPort()
Returns the port (backward compat)


getHttpAddress

public java.lang.String getHttpAddress()
Returns the port (backward compat)


getHttpsAddress

public java.lang.String getHttpsAddress()
Returns the port (backward compat)


getHttpPort

public int getHttpPort()
Returns the port (backward compat)


getHttpsPort

public int getHttpsPort()
Returns the port (backward compat)


getVersion

public java.lang.String getVersion()
Returns the version

Returns:
version

getVersionDate

public java.lang.String getVersionDate()
Returns the version date

Returns:
version

getHostName

public java.lang.String getHostName()
Returns the local hostname

Returns:
version

isProfessional

public boolean isProfessional()
Returns true for Resin professional.