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, setFileHandler
getProperties, getPropertyValue, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDeployable, configure, getDeployables, getHome
getCapability, getProperties, getPropertyValue, setProperty
public 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 ContainerConfiguration
verify
in class AbstractConfiguration
ContainerConfiguration.verify()
public ConfigurationType getType()
getType
in interface Configuration
Configuration.getType()
Copyright © 2004-2013 Codehaus. All Rights Reserved.