|
|||||||||||
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_AUTOSTART, MERLIN_CONFIG, MERLIN_CONTEXT, MERLIN_DEBUG, MERLIN_DEPLOYMENT, MERLIN_DIR, MERLIN_HOME, MERLIN_INFO, MERLIN_INSTALL, MERLIN_KERNEL, MERLIN_LANG, MERLIN_OVERRIDE, MERLIN_REPOSITORY, 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 |
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. |
String |
getOverridePath()
Return the url to the configuration override targets. |
File |
getRepositoryDirectory()
Return the root directory to the shared repository. |
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 |
isAutostartEnabled()
Return the autostart policy. |
boolean |
isDebugEnabled()
Return debug policy. |
boolean |
isInfoEnabled()
Return info generation policy. |
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, 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)
Method 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 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 isAutostartEnabled()
isAutostartEnabled
in interface KernelCriteria
public boolean isServerEnabled()
isServerEnabled
in interface KernelCriteria
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |