|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.apache.avalon.util.criteria.Criteria
org.apache.avalon.merlin.impl.DefaultCriteria
A Criteria is a class holding the values supplied by a user for application to a factory.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
Map.Entry |
Field Summary |
Fields inherited from interface org.apache.avalon.merlin.KernelCriteria |
MERLIN_ANCHOR, MERLIN_AUDIT, MERLIN_AUTOSTART, MERLIN_CODE_SECURITY_ENABLED, MERLIN_CONFIG, MERLIN_CONTEXT, MERLIN_DEBUG, MERLIN_DEPLOYMENT, MERLIN_DEPLOYMENT_TIMEOUT, MERLIN_DIR, MERLIN_HOME, MERLIN_INFO, MERLIN_INSTALL, MERLIN_KERNEL, MERLIN_LANG, MERLIN_LOGGING_CONFIG, MERLIN_LOGGING_IMPLEMENTATION, MERLIN_OVERRIDE, MERLIN_REPOSITORY, MERLIN_RUNTIME, MERLIN_RUNTIME_IMPLEMENTATION, MERLIN_SERVER, MERLIN_SYSTEM, MERLIN_TEMP |
Constructor Summary | |
DefaultCriteria(InitialContext context)
Creation of a new default kernel criteria. |
Method Summary | |
File |
getAnchorDirectory()
Return the anchor directory to be used when resolving library declarations in classload specifications. |
File |
getConfigDirectory()
Return the root directory to the merlin configurations |
File |
getContextDirectory()
Return the context directory from which relative runtime home directories will be established for components referencing urn:avalon:home |
long |
getDeploymentTimeout()
Return the default deployment timeout value. |
URL[] |
getDeploymentURLs()
Return the sequence of deployment urls |
File |
getHomeDirectory()
Return the root directory to the merlin installation |
URL |
getKernelURL()
Return the url to the kernel configuration |
String |
getLanguageCode()
Return the lang code. |
URL |
getLoggingConfiguration()
Return an external logging system configuration source |
Artifact |
getLoggingImplementation()
Return the artifact reference to the logging implementation factory . |
String |
getOverridePath()
Return the url to the configuration override targets. |
File |
getRepositoryDirectory()
Return the root directory to the shared repository. |
Artifact |
getRuntimeImplementation()
Return the artifact reference to the runtime implementation factory . |
Artifact |
getStandardRuntimeImplementation()
Return the artifact reference to the runtime implementation factory . |
File |
getSystemDirectory()
Return the root directory to the merlin system repository |
File |
getTempDirectory()
Return the temporary directory. |
File |
getWorkingDirectory()
Return the working client directory. |
boolean |
isAuditEnabled()
Return audit policy. |
boolean |
isAutostartEnabled()
Return the autostart policy. |
boolean |
isDebugEnabled()
Return debug policy. |
boolean |
isInfoEnabled()
Return info generation policy. |
boolean |
isSecurityEnabled()
Return the code security enabled status. |
boolean |
isServerEnabled()
Return server execution policy. |
String |
toString()
Return a string representation of the kernel criteria. |
Methods inherited from class org.apache.avalon.util.criteria.Criteria |
get, getKeys, getParameter, getParameters, getValue, put |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
public DefaultCriteria(InitialContext context)
context
- the initial repository contextMethod Detail |
public String toString()
public File getRepositoryDirectory()
getRepositoryDirectory
in interface KernelCriteria
public String getLanguageCode()
getLanguageCode
in interface KernelCriteria
public File getHomeDirectory()
getHomeDirectory
in interface KernelCriteria
public File getSystemDirectory()
getSystemDirectory
in interface KernelCriteria
public URL[] getDeploymentURLs()
getDeploymentURLs
in interface KernelCriteria
public File getConfigDirectory()
getConfigDirectory
in interface KernelCriteria
public URL getKernelURL()
getKernelURL
in interface KernelCriteria
public URL getLoggingConfiguration()
getLoggingConfiguration
in interface KernelCriteria
public Artifact getLoggingImplementation()
getLoggingImplementation
in interface KernelCriteria
public Artifact getRuntimeImplementation()
getRuntimeImplementation
in interface KernelCriteria
public Artifact getStandardRuntimeImplementation()
public String getOverridePath()
getOverridePath
in interface KernelCriteria
public File getWorkingDirectory()
getWorkingDirectory
in interface KernelCriteria
public File getTempDirectory()
getTempDirectory
in interface KernelCriteria
public File getContextDirectory()
getContextDirectory
in interface KernelCriteria
public File getAnchorDirectory()
getAnchorDirectory
in interface KernelCriteria
public boolean isInfoEnabled()
isInfoEnabled
in interface KernelCriteria
public boolean isDebugEnabled()
isDebugEnabled
in interface KernelCriteria
public boolean isAuditEnabled()
isAuditEnabled
in interface KernelCriteria
public boolean isAutostartEnabled()
isAutostartEnabled
in interface KernelCriteria
public boolean isServerEnabled()
isServerEnabled
in interface KernelCriteria
public long getDeploymentTimeout()
getDeploymentTimeout
in interface KernelCriteria
public boolean isSecurityEnabled()
isSecurityEnabled
in interface KernelCriteria
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |