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.String
BASE_PATH_PROPERTY_NAME
static java.lang.String
DEFAULT_APP_CONFIG_ROOT_FILE
static java.lang.String
DEFAULT_ASPECTRAN_CONFIG_FILE
-
Constructor Summary
Constructors Constructor Description AspectranConfig()
AspectranConfig(VariableParameters parameters)
AspectranConfig(java.io.File configFile)
AspectranConfig(java.io.Reader reader)
AspectranConfig(java.lang.String apon)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.io.File
determineAspectranConfigFile(java.lang.String[] args)
static java.lang.String
determineBasePath(java.lang.String[] args)
ContextConfig
getContextConfig()
DaemonConfig
getDaemonConfig()
EmbedConfig
getEmbedConfig()
SchedulerConfig
getSchedulerConfig()
ShellConfig
getShellConfig()
WebConfig
getWebConfig()
boolean
hasContextConfig()
ContextConfig
newContextConfig()
DaemonConfig
newDaemonConfig()
EmbedConfig
newEmbedConfig()
SchedulerConfig
newSchedulerConfig()
ShellConfig
newShellConfig()
WebConfig
newWebConfig()
ContextConfig
touchContextConfig()
DaemonConfig
touchDaemonConfig()
EmbedConfig
touchEmbedConfig()
SchedulerConfig
touchSchedulerConfig()
ShellConfig
touchShellConfig()
WebConfig
touchWebConfig()
-
Methods inherited from class com.aspectran.core.util.apon.AbstractParameters
clearValue, clearValue, describe, describe, getActualName, getBoolean, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanArray, getBooleanList, getBooleanList, getDouble, getDouble, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleList, getDoubleList, getFloat, getFloat, getFloat, getFloat, getFloatArray, getFloatArray, getFloatList, getFloatList, 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, getParameterValue, getParameterValueMap, getParent, getProprietor, getQualifiedName, getString, getString, getString, getString, getStringArray, getStringArray, getStringList, getStringList, getValue, getValue, hasParameter, hasParameter, hasValue, hasValue, isAssigned, isAssigned, isStructureFixed, newParameters, newParameters, newParameterValue, newParameterValue, putAll, putValue, putValue, putValueNonNull, putValueNonNull, readFrom, setActualName, setProprietor, 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 apon) throws java.io.IOException
- Throws:
java.io.IOException
-
AspectranConfig
public AspectranConfig(@NonNull VariableParameters parameters) throws java.io.IOException
- Throws:
java.io.IOException
-
AspectranConfig
public AspectranConfig(java.io.File configFile) throws java.io.IOException
- Throws:
java.io.IOException
-
AspectranConfig
public AspectranConfig(java.io.Reader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getContextConfig
public ContextConfig getContextConfig()
-
newContextConfig
public ContextConfig newContextConfig()
-
touchContextConfig
public ContextConfig touchContextConfig()
-
hasContextConfig
public boolean hasContextConfig()
-
getSchedulerConfig
public SchedulerConfig getSchedulerConfig()
-
newSchedulerConfig
public SchedulerConfig newSchedulerConfig()
-
touchSchedulerConfig
public SchedulerConfig touchSchedulerConfig()
-
getEmbedConfig
public EmbedConfig getEmbedConfig()
-
newEmbedConfig
public EmbedConfig newEmbedConfig()
-
touchEmbedConfig
public EmbedConfig touchEmbedConfig()
-
getShellConfig
public ShellConfig getShellConfig()
-
newShellConfig
public ShellConfig newShellConfig()
-
touchShellConfig
public ShellConfig touchShellConfig()
-
getDaemonConfig
public DaemonConfig getDaemonConfig()
-
newDaemonConfig
public DaemonConfig newDaemonConfig()
-
touchDaemonConfig
public DaemonConfig touchDaemonConfig()
-
getWebConfig
public WebConfig getWebConfig()
-
newWebConfig
public WebConfig newWebConfig()
-
touchWebConfig
public WebConfig touchWebConfig()
-
determineBasePath
public static java.lang.String determineBasePath(@Nullable java.lang.String[] args)
-
determineAspectranConfigFile
public static java.io.File determineAspectranConfigFile(@Nullable java.lang.String[] args)
-
-