Class AspectranConfig
- java.lang.Object
-
- com.aspectran.core.util.apon.AbstractParameters
-
- com.aspectran.core.context.config.AspectranConfig
-
- All Implemented Interfaces:
Parameters
public class AspectranConfig extends AbstractParameters
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBASE_DIR_PROPERTY_NAMEstatic ParameterDefinitioncontextstatic ParameterDefinitiondaemonstatic java.lang.StringDEFAULT_APP_CONFIG_ROOT_FILEstatic java.lang.StringDEFAULT_ASPECTRAN_CONFIG_FILEstatic ParameterDefinitionschedulerstatic ParameterDefinitionsessionstatic ParameterDefinitionshellstatic ParameterDefinitionweb
-
Constructor Summary
Constructors Constructor Description AspectranConfig()AspectranConfig(java.io.File configFile)AspectranConfig(java.io.Reader reader)AspectranConfig(java.lang.String text)
-
Method Summary
-
Methods inherited from class com.aspectran.core.util.apon.AbstractParameters
describe, describe, getBoolean, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanArray, getBooleanList, getBooleanList, getDouble, getDouble, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleList, getDoubleList, getFloat, getFloat, getFloat, getFloat, getFloatArray, getFloatArray, getFloatList, getFloatList, getIdentifier, getInt, getInt, getInt, getInt, getIntArray, getIntArray, getIntList, getIntList, getLong, getLong, getLong, getLong, getLongArray, getLongArray, getLongList, getLongList, getParameter, getParameter, getParameterNames, getParameterNameSet, getParameters, getParameters, getParametersArray, getParametersArray, getParametersList, getParametersList, getParameterValueMap, getParent, getQualifiedName, getString, getString, getString, getString, getStringArray, getStringArray, getStringList, getStringList, getValue, getValue, hasParameter, hasParameter, isAddable, isValueAssigned, isValueAssigned, newParameters, newParameters, newParameterValue, newParameterValue, putValue, putValue, putValueNonNull, putValueNonNull, readFrom, setIdentifier, setIndentString, toString, touchParameters, touchParameters
-
-
-
-
Field Detail
-
BASE_DIR_PROPERTY_NAME
public static final java.lang.String BASE_DIR_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ASPECTRAN_CONFIG_FILE
public static final java.lang.String DEFAULT_ASPECTRAN_CONFIG_FILE
- See Also:
- Constant Field Values
-
DEFAULT_APP_CONFIG_ROOT_FILE
public static final java.lang.String DEFAULT_APP_CONFIG_ROOT_FILE
- See Also:
- Constant Field Values
-
context
public static final ParameterDefinition context
-
session
public static final ParameterDefinition session
-
scheduler
public static final ParameterDefinition scheduler
-
daemon
public static final ParameterDefinition daemon
-
shell
public static final ParameterDefinition shell
-
web
public static final ParameterDefinition web
-
-
Method Detail
-
newContextConfig
public ContextConfig newContextConfig()
-
touchContextConfig
public ContextConfig touchContextConfig()
-
getContextConfig
public ContextConfig getContextConfig()
-
putContextConfig
public void putContextConfig(ContextConfig contextConfig)
-
newSessionConfig
public SessionConfig newSessionConfig()
-
touchSessionConfig
public SessionConfig touchSessionConfig()
-
getSessionConfig
public SessionConfig getSessionConfig()
-
putSessionConfig
public void putSessionConfig(SessionConfig sessionConfig)
-
newSchedulerConfig
public SchedulerConfig newSchedulerConfig()
-
touchSchedulerConfig
public SchedulerConfig touchSchedulerConfig()
-
getSchedulerConfig
public SchedulerConfig getSchedulerConfig()
-
putSchedulerConfig
public void putSchedulerConfig(SchedulerConfig schedulerConfig)
-
newDaemonConfig
public DaemonConfig newDaemonConfig()
-
touchDaemonConfig
public DaemonConfig touchDaemonConfig()
-
getDaemonConfig
public DaemonConfig getDaemonConfig()
-
putDaemonConfig
public void putDaemonConfig(DaemonConfig daemonConfig)
-
newShellConfig
public ShellConfig newShellConfig()
-
touchShellConfig
public ShellConfig touchShellConfig()
-
getShellConfig
public ShellConfig getShellConfig()
-
putShellConfig
public void putShellConfig(ShellConfig shellConfig)
-
newWebConfig
public WebConfig newWebConfig()
-
touchWebConfig
public WebConfig touchWebConfig()
-
getWebConfig
public WebConfig getWebConfig()
-
putWebConfig
public void putWebConfig(WebConfig webConfig)
-
updateBasePath
public void updateBasePath(java.lang.String basePath)
-
updateAppConfigRootFile
public void updateAppConfigRootFile(java.lang.String appConfigRootFile)
-
updateSchedulerConfig
public void updateSchedulerConfig(int startDelaySeconds, boolean waitOnShutdown, boolean startup)
-
getAppConfigRootFile
public java.lang.String getAppConfigRootFile()
-
determineBasePath
public static java.lang.String determineBasePath(java.lang.String[] args)
-
determineAspectranConfigFile
public static java.io.File determineAspectranConfigFile(java.lang.String[] args)
-
-