com.caucho.server.resin
Class BootPodConfig

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

public class BootPodConfig
extends java.lang.Object

The BootClusterConfig is the first-pass configuration of the cluster. It matches the <cluster> tag in the resin.xml


Constructor Summary
BootPodConfig(BootClusterConfig clusterConfig)
          Creates a new resin server.
 
Method Summary
 void addContentProgram(ConfigProgram program)
           
 void addServer(BootServerConfig server)
           
 void addServerDefault(ContainerProgram program)
          Adds a for default server configuration.
 BootServerConfig createServer()
           
 BootClusterConfig getCluster()
           
 java.lang.String getId()
          Returns the pod's id
 ContainerProgram getServerDefault()
           
 java.util.ArrayList<BootServerConfig> getServerList()
           
 void init()
           
 void setId(java.lang.String id)
          Sets the pod's id
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootPodConfig

public BootPodConfig(BootClusterConfig clusterConfig)
Creates a new resin server.

Method Detail

getId

public java.lang.String getId()
Returns the pod's id


setId

@Configurable
public void setId(java.lang.String id)
Sets the pod's id


getCluster

public BootClusterConfig getCluster()

addServerDefault

@Configurable
public void addServerDefault(ContainerProgram program)
Adds a for default server configuration.


getServerDefault

public ContainerProgram getServerDefault()

createServer

@Configurable
public BootServerConfig createServer()
                              throws ConfigException
Throws:
ConfigException

addServer

@Configurable
public void addServer(BootServerConfig server)

getServerList

public java.util.ArrayList<BootServerConfig> getServerList()

addContentProgram

public void addContentProgram(ConfigProgram program)

init

@PostConstruct
public void init()

toString

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