org.codehaus.cargo.container.geronimo
Class Geronimo1xStandaloneLocalConfiguration
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
org.codehaus.cargo.container.geronimo.Geronimo1xStandaloneLocalConfiguration
- All Implemented Interfaces:
- Configuration, LocalConfiguration, StandaloneLocalConfiguration, ContainerConfiguration, Loggable
public class Geronimo1xStandaloneLocalConfiguration
- extends AbstractStandaloneLocalConfiguration
Geronimo 1.x series standalone Configuration
implementation.
- Version:
- $Id: Geronimo1xStandaloneLocalConfiguration.java 1572 2008-05-01 20:41:43Z mwringe $
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration |
configure, configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verify |
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration |
addDataSource, addDataSourcesFromProperties, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Geronimo1xStandaloneLocalConfiguration
public Geronimo1xStandaloneLocalConfiguration(String dir)
-
- See Also:
AbstractStandaloneLocalConfiguration.AbstractStandaloneLocalConfiguration(String)
getCapability
public ConfigurationCapability getCapability()
-
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it
supports, etc - See Also:
Configuration.getCapability()
addDeployable
public void addDeployable(Deployable newDeployable)
- Geronimo does not support static deployments, warn the user.
Deploy a
Deployable
in the container. It installs the Deployable
in the
container's configuration directory.
- Specified by:
addDeployable
in interface LocalConfiguration
- Overrides:
addDeployable
in class AbstractLocalConfiguration
- Parameters:
newDeployable
- the Deployable
to deploy- See Also:
LocalConfiguration.addDeployable(org.codehaus.cargo.container.deployable.Deployable)
doConfigure
protected void doConfigure(LocalContainer container)
throws Exception
- Implementation of
LocalConfiguration.configure(LocalContainer)
that all local
configuration using this class must implement. This provides the ability to perform generic
actions before and after the container-specific implementation. Another way would be to use
AOP...
- Specified by:
doConfigure
in class AbstractLocalConfiguration
- Parameters:
container
- the container to configure
- Throws:
Exception
- if any error is raised during the configuration- See Also:
AbstractLocalConfiguration.configure(LocalContainer)
createGeronimoFilterChain
protected org.apache.tools.ant.types.FilterChain createGeronimoFilterChain(LocalContainer container)
throws MalformedURLException
- Create filter to replace tokens in configuration file with user defined values.
- Parameters:
container
- the instance representing the Geronimo container
- Returns:
- token with all the user-defined token value
- Throws:
MalformedURLException
- If an URL is malformed.
Copyright © 2004-2012 Codehaus. All Rights Reserved.