public class BootResinConfig extends AbstractResinConfig implements SchemaBean, DependencyBean
Constructor and Description |
---|
BootResinConfig(ResinSystem resinSystem)
Creates a new resin server.
|
Modifier and Type | Method and Description |
---|---|
void |
addCluster(BootClusterProxy clusterProxy) |
void |
addClusterDefault(ContainerProgram program)
Adds a
|
void |
addContentProgram(ConfigProgram program) |
void |
addDependency(PersistentDependency dependency) |
BootClusterConfig |
findCluster(java.lang.String id) |
BootServerConfig |
findLocalServer() |
EnvironmentClassLoader |
getClassLoader() |
java.util.ArrayList<BootClusterConfig> |
getClusterList() |
java.lang.String |
getClusterSystemKey() |
java.lang.String |
getElasticServerAddress(ResinArgs args) |
int |
getElasticServerPort(ResinArgs args) |
java.lang.String |
getHomeCluster() |
java.lang.String |
getHomeServer() |
ConfigProgram |
getProgram() |
java.lang.String |
getSchema()
Returns the relax schema.
|
void |
initTopology(BootClusterConfig bootCluster) |
boolean |
isElasticServer(ResinArgs args) |
void |
setClusterSystemKey(java.lang.String key) |
void |
setElasticServer(boolean isElasticServer) |
void |
setElasticServerAddress(java.lang.String address) |
void |
setElasticServerPort(int port) |
void |
setHomeCluster(java.lang.String homeCluster) |
void |
setHomeServer(java.lang.String homeServer) |
void |
setResinSystemAuthKey(java.lang.String key)
Obsolete
|
addLog, addLogger, addLogHandler, addStdoutLog, createLog, createLogger, createLogHandler, createStdoutLog
public BootResinConfig(ResinSystem resinSystem)
public EnvironmentClassLoader getClassLoader()
getClassLoader
in interface EnvironmentBean
public java.lang.String getSchema()
getSchema
in interface SchemaBean
@Configurable public void setResinSystemAuthKey(java.lang.String key)
@Configurable public void setClusterSystemKey(java.lang.String key)
public java.lang.String getClusterSystemKey()
public void setHomeServer(java.lang.String homeServer)
public java.lang.String getHomeServer()
public void setHomeCluster(java.lang.String homeCluster)
public java.lang.String getHomeCluster()
public void setElasticServer(boolean isElasticServer)
public boolean isElasticServer(ResinArgs args)
public void setElasticServerPort(int port)
public int getElasticServerPort(ResinArgs args)
public void setElasticServerAddress(java.lang.String address)
public java.lang.String getElasticServerAddress(ResinArgs args)
@Configurable public void addClusterDefault(ContainerProgram program)
@Configurable public void addCluster(BootClusterProxy clusterProxy) throws ConfigException
ConfigException
public BootClusterConfig findCluster(java.lang.String id)
public java.util.ArrayList<BootClusterConfig> getClusterList()
public void addContentProgram(ConfigProgram program)
public ConfigProgram getProgram()
public void addDependency(PersistentDependency dependency)
addDependency
in interface DependencyBean
public void initTopology(BootClusterConfig bootCluster)
bootClusterConfig
- public BootServerConfig findLocalServer()