com.caucho.server.resin
Class BootServerConfig

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

public class BootServerConfig
extends java.lang.Object
implements SchemaBean

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


Constructor Summary
BootServerConfig(BootPodConfig pod)
          Creates a new resin server.
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
           
 java.lang.String getAddress()
           
 java.lang.String getId()
          Returns the cluster's id
 BootPodConfig getPod()
           
 int getPort()
           
 java.lang.String getSchema()
          Returns the relax schema.
 ConfigProgram getServerProgram()
           
 boolean isExternalAddress()
           
 boolean isRequireExplicitId()
           
 boolean isSecure()
           
 void setAddress(java.lang.String address)
           
 void setExternalAddress(boolean isExternal)
           
 void setId(java.lang.String id)
          Sets the cluster's id
 void setPort(int port)
           
 void setRequireExplicitId(boolean isRequire)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootServerConfig

public BootServerConfig(BootPodConfig pod)
Creates a new resin server.

Method Detail

getPod

public BootPodConfig getPod()

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


getAddress

public java.lang.String getAddress()

setAddress

@Configurable
public void setAddress(java.lang.String address)

getPort

public int getPort()

setPort

@Configurable
public void setPort(int port)

isSecure

public boolean isSecure()

setRequireExplicitId

@Configurable
public void setRequireExplicitId(boolean isRequire)

isRequireExplicitId

@Configurable
public boolean isRequireExplicitId()

setExternalAddress

@Configurable
public void setExternalAddress(boolean isExternal)

isExternalAddress

@Configurable
public boolean isExternalAddress()

addBuilderProgram

public void addBuilderProgram(ConfigProgram program)

getServerProgram

public ConfigProgram getServerProgram()

toString

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