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_PATH_PROPERTY_NAMEstatic java.lang.StringDEFAULT_APP_CONFIG_ROOT_FILEstatic java.lang.StringDEFAULT_ASPECTRAN_CONFIG_FILE
-
Constructor Summary
Constructors Constructor Description AspectranConfig()AspectranConfig(java.io.File configFile)AspectranConfig(java.io.Reader reader)AspectranConfig(java.lang.String text)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.io.FiledetermineAspectranConfigFile(java.lang.String[] args)static java.lang.StringdetermineBasePath(java.lang.String[] args)ContextConfiggetContextConfig()DaemonConfiggetDaemonConfig()SchedulerConfiggetSchedulerConfig()SessionConfiggetSessionConfig()ShellConfiggetShellConfig()WebConfiggetWebConfig()booleanhasContextConfig()ContextConfignewContextConfig()DaemonConfignewDaemonConfig()SchedulerConfignewSchedulerConfig()SessionConfignewSessionConfig()ShellConfignewShellConfig()WebConfignewWebConfig()ContextConfigtouchContextConfig()DaemonConfigtouchDaemonConfig()SchedulerConfigtouchSchedulerConfig()SessionConfigtouchSessionConfig()ShellConfigtouchShellConfig()WebConfigtouchWebConfig()-
Methods inherited from class com.aspectran.core.util.apon.AbstractParameters
clearValue, clearValue, 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, hasValue, hasValue, isAddable, isAssigned, isAssigned, newParameters, newParameters, newParameterValue, newParameterValue, putAll, putValue, putValue, putValueNonNull, putValueNonNull, readFrom, setIdentifier, setIndentString, toString, touchParameters, touchParameters, updateContainer
-
-
-
-
Field Detail
-
BASE_PATH_PROPERTY_NAME
public static final java.lang.String BASE_PATH_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
-
-
Constructor Detail
-
AspectranConfig
public AspectranConfig()
-
AspectranConfig
public AspectranConfig(java.lang.String text) throws AponParseException- Throws:
AponParseException
-
AspectranConfig
public AspectranConfig(java.io.File configFile) throws AponParseException- Throws:
AponParseException
-
AspectranConfig
public AspectranConfig(java.io.Reader reader) throws AponParseException- Throws:
AponParseException
-
-
Method Detail
-
getContextConfig
public ContextConfig getContextConfig()
-
newContextConfig
public ContextConfig newContextConfig()
-
touchContextConfig
public ContextConfig touchContextConfig()
-
hasContextConfig
public boolean hasContextConfig()
-
getSessionConfig
public SessionConfig getSessionConfig()
-
newSessionConfig
public SessionConfig newSessionConfig()
-
touchSessionConfig
public SessionConfig touchSessionConfig()
-
getSchedulerConfig
public SchedulerConfig getSchedulerConfig()
-
newSchedulerConfig
public SchedulerConfig newSchedulerConfig()
-
touchSchedulerConfig
public SchedulerConfig touchSchedulerConfig()
-
getDaemonConfig
public DaemonConfig getDaemonConfig()
-
newDaemonConfig
public DaemonConfig newDaemonConfig()
-
touchDaemonConfig
public DaemonConfig touchDaemonConfig()
-
getShellConfig
public ShellConfig getShellConfig()
-
newShellConfig
public ShellConfig newShellConfig()
-
touchShellConfig
public ShellConfig touchShellConfig()
-
getWebConfig
public WebConfig getWebConfig()
-
newWebConfig
public WebConfig newWebConfig()
-
touchWebConfig
public WebConfig touchWebConfig()
-
determineBasePath
public static java.lang.String determineBasePath(java.lang.String[] args)
-
determineAspectranConfigFile
public static java.io.File determineAspectranConfigFile(java.lang.String[] args)
-
-