com.caucho.server.resin
Class BootClusterConfig

java.lang.Object
  extended by com.caucho.server.resin.BootClusterConfig
All Implemented Interfaces:
SchemaBean

public class BootClusterConfig
extends java.lang.Object
implements SchemaBean

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


Constructor Summary
BootClusterConfig(BootResinConfig resinConfig)
          Creates a new resin server.
 
Method Summary
 void addContentProgram(ConfigProgram program)
           
 BootServerConfig addDynamicServer(CloudServer cloudServer)
           
 void addPod(BootPodConfig pod)
           
 void addServer(BootServerConfig server)
           
 void addServerDefault(ContainerProgram program)
          Adds a for default server configuration.
 void addServerMulti(BootServerMultiConfig multiServer)
           
 void addStdoutLog(ConfigProgram config)
          Managed by watchdog.
 BootPodConfig createPod()
           
 BootServerConfig createServer()
           
 java.lang.String getId()
          Returns the cluster's id
 java.util.ArrayList<BootPodConfig> getPodList()
           
 java.lang.String getSchema()
          Returns the relax schema.
 ContainerProgram getServerDefault()
           
 void init()
           
 void setId(java.lang.String id)
          Sets the cluster'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

BootClusterConfig

public BootClusterConfig(BootResinConfig resinConfig)
Creates a new resin server.

Method Detail

getSchema

public java.lang.String getSchema()
Returns the relax schema.

Specified by:
getSchema in interface SchemaBean

getId

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


setId

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


addServerDefault

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


getServerDefault

public ContainerProgram getServerDefault()

createPod

@Configurable
public BootPodConfig createPod()
                        throws ConfigException
Throws:
ConfigException

addPod

@Configurable
public void addPod(BootPodConfig pod)

createServer

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

addServer

@Configurable
public void addServer(BootServerConfig server)

addServerMulti

public void addServerMulti(BootServerMultiConfig multiServer)

getPodList

public java.util.ArrayList<BootPodConfig> getPodList()

addStdoutLog

public void addStdoutLog(ConfigProgram config)
Managed by watchdog.


addContentProgram

public void addContentProgram(ConfigProgram program)

init

@PostConstruct
public void init()

addDynamicServer

public BootServerConfig addDynamicServer(CloudServer cloudServer)

toString

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