public abstract class AbstractStandaloneLocalConfiguration extends AbstractLocalConfiguration implements StandaloneLocalConfiguration
RESOURCE_PATH| Constructor and Description |
|---|
AbstractStandaloneLocalConfiguration(String dir) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tools.ant.types.FilterChain |
createFilterChain()
Creates the default filter chain that should be applied while copying
container configuration files to the working directory from which
the container is started.
|
ConfigurationType |
getType() |
protected void |
setupConfigurationDir()
Set up the configuration directory (create it and clean it).
|
void |
verify()
Verify that the configuration is valid.
|
addDeployable, configure, doConfigure, getAntUtils, getDeployables, getFileHandler, getHome, getResourceUtils, setFileHandlergetProperties, getPropertyValue, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDeployable, configure, getDeployables, getHomegetCapability, getProperties, getPropertyValue, setPropertypublic AbstractStandaloneLocalConfiguration(String dir)
protected void setupConfigurationDir()
throws IOException
Note: We only clean the configuration directory if it's empty or if there is a Cargo timestamp file. This is to prevent deleting not empty directories if the user has mistakenly pointed the configuration dir to an existing location.
IOException - if the directory cannot be createdprotected final org.apache.tools.ant.types.FilterChain createFilterChain()
public void verify()
verify in interface ContainerConfigurationverify in class AbstractConfigurationContainerConfiguration.verify()public ConfigurationType getType()
getType in interface ConfigurationConfiguration.getType()Copyright © 2004-2013 Codehaus. All Rights Reserved.