com.caucho.server.resin
Class BootServerMultiConfig

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

public class BootServerMultiConfig
extends java.lang.Object

The BootServerConfig is the first-pass configuration of the server. It matches the <server-multi> tag in the resin.xml


Constructor Summary
BootServerMultiConfig()
          Creates a new resin server.
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
           
 java.util.ArrayList<java.lang.String> getAddressList()
           
 java.lang.String getIdPrefix()
          Returns the server's id-prefix
 int getPort()
           
 ConfigProgram getServerProgram()
           
 void init()
           
 boolean isSecure()
           
 void setAddressList(java.lang.String addresses)
           
 void setIdPrefix(java.lang.String id)
          Sets the cluster's id
 void setPort(int port)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootServerMultiConfig

public BootServerMultiConfig()
Creates a new resin server.

Method Detail

getIdPrefix

public java.lang.String getIdPrefix()
Returns the server's id-prefix


setIdPrefix

@Configurable
public void setIdPrefix(java.lang.String id)
Sets the cluster's id


setAddressList

@Configurable
public void setAddressList(java.lang.String addresses)

getAddressList

public java.util.ArrayList<java.lang.String> getAddressList()

getPort

public int getPort()

setPort

@Configurable
public void setPort(int port)

isSecure

public boolean isSecure()

addBuilderProgram

public void addBuilderProgram(ConfigProgram program)

getServerProgram

public ConfigProgram getServerProgram()

init

@PostConstruct
public void init()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object