com.caucho.server.resin
Class BootResinConfig

java.lang.Object
  extended by com.caucho.server.resin.BootResinConfig
All Implemented Interfaces:
DependencyBean, SchemaBean
Direct Known Subclasses:
BootResinEnvConfig

public class BootResinConfig
extends java.lang.Object
implements SchemaBean, DependencyBean

The Resin class represents the top-level container for Resin. It exactly matches the <resin> tag in the resin.xml


Constructor Summary
BootResinConfig(ResinSystem resinSystem)
          Creates a new resin server.
 
Method Summary
 void addCluster(BootClusterProxy clusterProxy)
           
 void addClusterDefault(ContainerProgram program)
          Adds a for default cluster configuration.
 void addContentProgram(ConfigProgram program)
           
 void addDependency(PersistentDependency dependency)
           
 BootClusterConfig findCluster(java.lang.String id)
           
 BootServerConfig findLocalServer()
           
 EnvironmentClassLoader getClassLoader()
           
 java.util.ArrayList<BootClusterConfig> getClusterList()
           
 ConfigProgram getProgram()
           
 java.lang.String getResinSystemAuthKey()
           
 java.lang.String getSchema()
          Returns the relax schema.
 void setResinSystemAuthKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootResinConfig

public BootResinConfig(ResinSystem resinSystem)
Creates a new resin server.

Method Detail

getClassLoader

public EnvironmentClassLoader getClassLoader()

getSchema

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

Specified by:
getSchema in interface SchemaBean

setResinSystemAuthKey

@Configurable
public void setResinSystemAuthKey(java.lang.String key)

getResinSystemAuthKey

public java.lang.String getResinSystemAuthKey()

addClusterDefault

@Configurable
public void addClusterDefault(ContainerProgram program)
Adds a for default cluster configuration.


addCluster

@Configurable
public void addCluster(BootClusterProxy clusterProxy)
                throws ConfigException
Throws:
ConfigException

findCluster

public BootClusterConfig findCluster(java.lang.String id)

getClusterList

public java.util.ArrayList<BootClusterConfig> getClusterList()

addContentProgram

public void addContentProgram(ConfigProgram program)

getProgram

public ConfigProgram getProgram()

addDependency

public void addDependency(PersistentDependency dependency)
Specified by:
addDependency in interface DependencyBean

findLocalServer

public BootServerConfig findLocalServer()