org.codehaus.cargo.container.resin
Class Resin3xStandaloneLocalConfiguration

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
          extended by org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
              extended by org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
                  extended by org.codehaus.cargo.container.resin.internal.AbstractResinStandaloneLocalConfiguration
                      extended by org.codehaus.cargo.container.resin.Resin3xStandaloneLocalConfiguration
All Implemented Interfaces:
Configuration, LocalConfiguration, StandaloneLocalConfiguration, ContainerConfiguration, Loggable

public class Resin3xStandaloneLocalConfiguration
extends AbstractResinStandaloneLocalConfiguration

Resin 3.x standalone ContainerConfiguration implementation.

Version:
$Id: Resin3xStandaloneLocalConfiguration.java 1158 2006-07-29 10:55:48Z vmassol $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
 
Constructor Summary
Resin3xStandaloneLocalConfiguration(java.lang.String dir)
          
 
Method Summary
protected  java.lang.String createDatasourceTokenValue()
           
protected  org.apache.tools.ant.types.FilterChain createResinFilterChain()
          
protected  void prepareAdditions(Container container, org.apache.tools.ant.types.FilterChain theFilterChain)
          Allow specific version implementations to add custom preparation steps before the container is started.
 
Methods inherited from class org.codehaus.cargo.container.resin.internal.AbstractResinStandaloneLocalConfiguration
createExpandedWarTokenValue, doConfigure, getCapability, getSecurityToken, toString
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
createFilterChain, getType, setupConfigurationDir, verify
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDeployable, configure, getAntUtils, getDeployables, getFileHandler, getHome, getResourceUtils, setFileHandler
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
getProperties, getPropertyValue, setProperty
 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addDeployable, configure, getDeployables, getHome
 
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration
getProperties, getPropertyValue, setProperty
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Constructor Detail

Resin3xStandaloneLocalConfiguration

public Resin3xStandaloneLocalConfiguration(java.lang.String dir)

See Also:
AbstractResinStandaloneLocalConfiguration.AbstractResinStandaloneLocalConfiguration(String)
Method Detail

prepareAdditions

protected void prepareAdditions(Container container,
                                org.apache.tools.ant.types.FilterChain theFilterChain)
                         throws java.io.IOException
Allow specific version implementations to add custom preparation steps before the container is started.

Specified by:
prepareAdditions in class AbstractResinStandaloneLocalConfiguration
Parameters:
container - the container to configure
theFilterChain - the filter chain used to replace Ant tokens in configuration
Throws:
java.io.IOException - in case of an error
See Also:
AbstractResinStandaloneLocalConfiguration.prepareAdditions(Container, FilterChain)

createResinFilterChain

protected org.apache.tools.ant.types.FilterChain createResinFilterChain()

Specified by:
createResinFilterChain in class AbstractResinStandaloneLocalConfiguration
Returns:
an Ant filter chain containing implementation for the filter tokens used in the Resin configuration files
See Also:
AbstractResinStandaloneLocalConfiguration.createResinFilterChain()

createDatasourceTokenValue

protected java.lang.String createDatasourceTokenValue()
Returns:
A datasource xml fragment that can be embedded directly into the resin.conf file


Copyright © 2004-2011 Codehaus. All Rights Reserved.