com.caucho.server.resin
Class ResinArgs

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

public class ResinArgs
extends java.lang.Object

The parsed Resin command-line arguments


Constructor Summary
ResinArgs()
           
ResinArgs(java.lang.String[] args)
           
 
Method Summary
 java.util.ArrayList<com.caucho.server.resin.ResinArgs.BoundPort> getBoundPortList()
          Returns the bound port list.
 Path getDataDirectory()
          Gets the root directory.
 java.lang.String getHomeCluster()
           
 Path getLicenseDirectory()
           
 java.lang.String getPassword()
           
 java.net.Socket getPingSocket()
           
 java.lang.String getResinConf()
          The configuration file used to start the server.
 Path getResinConfPath()
           
 Path getResinHome()
           
 Path getRootDirectory()
          Gets the root directory.
 java.lang.String getServerAddress()
           
 java.lang.String getServerId()
           
 int getServerPort()
           
 java.lang.String getStage()
          Returns the stage to start with.
 java.lang.String getUser()
           
 boolean isDumpHeapOnExit()
           
 boolean isOpenSource()
           
 void setDataDirectory(Path path)
          Sets the root directory.
 void setHomeCluster(java.lang.String homeCluster)
           
 void setLicenseDirectory(Path licenseDirectory)
           
 void setOpenSource(boolean isOpenSource)
           
 void setResinConf(java.lang.String resinConf)
           
 void setRootDirectory(Path root)
           
 void setServerAddress(java.lang.String address)
           
 void setServerId(java.lang.String serverId)
           
 void setServerPort(int port)
           
 void setStage(java.lang.String stage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResinArgs

public ResinArgs()

ResinArgs

public ResinArgs(java.lang.String[] args)
          throws ConfigException
Throws:
ConfigException
Method Detail

setServerId

public void setServerId(java.lang.String serverId)

getServerId

public java.lang.String getServerId()

getResinHome

public Path getResinHome()

getRootDirectory

public Path getRootDirectory()
Gets the root directory.


setRootDirectory

public void setRootDirectory(Path root)

getLicenseDirectory

public Path getLicenseDirectory()

setLicenseDirectory

public void setLicenseDirectory(Path licenseDirectory)

getDataDirectory

public Path getDataDirectory()
Gets the root directory.


setDataDirectory

public void setDataDirectory(Path path)
Sets the root directory.


getPingSocket

public java.net.Socket getPingSocket()

setOpenSource

public void setOpenSource(boolean isOpenSource)

isOpenSource

public boolean isOpenSource()

getResinConf

public java.lang.String getResinConf()
The configuration file used to start the server.


setResinConf

public void setResinConf(java.lang.String resinConf)

getResinConfPath

public Path getResinConfPath()

getBoundPortList

public java.util.ArrayList<com.caucho.server.resin.ResinArgs.BoundPort> getBoundPortList()
Returns the bound port list.


getStage

public java.lang.String getStage()
Returns the stage to start with.


setStage

public void setStage(java.lang.String stage)

setHomeCluster

public void setHomeCluster(java.lang.String homeCluster)

getHomeCluster

public java.lang.String getHomeCluster()

getServerAddress

public java.lang.String getServerAddress()

setServerAddress

public void setServerAddress(java.lang.String address)

getServerPort

public int getServerPort()

setServerPort

public void setServerPort(int port)

getUser

public java.lang.String getUser()

getPassword

public java.lang.String getPassword()

isDumpHeapOnExit

public boolean isDumpHeapOnExit()