public class ResinConfig extends AbstractResinConfig implements EnvironmentBean
Modifier and Type | Method and Description |
---|---|
void |
addBoot(ContainerProgram program)
Ignore the boot configuration
|
void |
addSecurityProvider(java.lang.Class<?> providerClass)
Adds a new security provider
|
JspPropertyGroup |
createJsp()
Configures JSP (backwards compatibility).
|
Management |
createManagement()
Deprecated.
|
java.lang.Object |
createModuleRepository() |
Management |
createResinManagement()
Deprecated.
|
com.caucho.server.resin.ResinConfig.SecurityManagerConfig |
createSecurityManager() |
ThreadPoolConfig |
createThreadPool()
Configures the thread pool
|
TransactionManager |
createTransactionManager()
Deprecated.
|
java.lang.ClassLoader |
getClassLoader()
Returns the classLoader
|
long |
getMinFreeMemory()
Gets the minimum free memory allowed.
|
TempFileManager |
getTempFileManager() |
void |
setAdminPath(Path path)
Deprecated.
|
void |
setClusterSystemKey(java.lang.String key)
Sets the resin system key
|
void |
setElasticDns(boolean isElasticServer) |
void |
setElasticServer(boolean isElasticServer)
Sets the shutdown time
|
void |
setEnvironmentSystemProperties(boolean isEnable)
Set true if the server should enable environment-based
system properties.
|
void |
setGlobalSystemProperties(boolean isGlobal)
Set true if system properties are global.
|
void |
setGroupName(java.lang.String groupName)
Sets the group name for setuid.
|
void |
setHomeCluster(java.lang.String homeCluster) |
void |
setHomeServer(java.lang.String homeServer) |
void |
setIgnoreLock(boolean isIgnore) |
void |
setJoinCluster(java.lang.String joinCluster) |
void |
setMinFreeMemory(Bytes minFreeMemory)
Sets the minimum free memory allowed.
|
void |
setResinDataDirectory(Path path)
Deprecated.
|
void |
setResinSystemAuthKey(java.lang.String key)
Obsolete version of ClusterSystemKey
|
void |
setRootDirectory(Path root) |
void |
setUserName(java.lang.String userName)
Sets the user name for setuid.
|
void |
setWatchdogManager(ConfigProgram program) |
java.lang.String |
toString() |
addLog, addLogger, addLogHandler, addStdoutLog, createLog, createLogger, createLogHandler, createStdoutLog
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface EnvironmentBean
@Configurable public void setClusterSystemKey(java.lang.String key)
@Configurable public void setResinSystemAuthKey(java.lang.String key)
@Configurable public void setRootDirectory(Path root)
@Configurable public void setIgnoreLock(boolean isIgnore)
@Configurable public void setEnvironmentSystemProperties(boolean isEnable)
@Configurable public ThreadPoolConfig createThreadPool() throws java.lang.Exception
java.lang.Exception
@Configurable public void setUserName(java.lang.String userName)
@Configurable public void setGroupName(java.lang.String groupName)
@Configurable public void setMinFreeMemory(Bytes minFreeMemory)
public long getMinFreeMemory()
@Configurable public void setElasticServer(boolean isElasticServer)
@Configurable public void setElasticDns(boolean isElasticServer)
@Configurable public void setJoinCluster(java.lang.String joinCluster)
@Configurable public void setHomeCluster(java.lang.String homeCluster)
@Configurable public void setHomeServer(java.lang.String homeServer)
@Configurable public void setGlobalSystemProperties(boolean isGlobal)
@Configurable public com.caucho.server.resin.ResinConfig.SecurityManagerConfig createSecurityManager()
@Configurable public void setWatchdogManager(ConfigProgram program)
@Deprecated public TransactionManager createTransactionManager() throws ConfigException
ConfigException
public java.lang.Object createModuleRepository()
public TempFileManager getTempFileManager()
public void addSecurityProvider(java.lang.Class<?> providerClass) throws java.lang.Exception
java.lang.Exception
public JspPropertyGroup createJsp()
public void addBoot(ContainerProgram program) throws java.lang.Exception
java.lang.Exception
@Configurable @Deprecated public void setAdminPath(Path path)
@Configurable @Deprecated public void setResinDataDirectory(Path path)
@Deprecated public Management createManagement()
@Deprecated public Management createResinManagement()
public java.lang.String toString()
toString
in class java.lang.Object