org.codehaus.cargo.container.jboss
Class JBoss5xStandaloneLocalConfiguration

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.jboss.JBossStandaloneLocalConfiguration
                      extended by org.codehaus.cargo.container.jboss.JBoss5xStandaloneLocalConfiguration
All Implemented Interfaces:
Configuration, LocalConfiguration, StandaloneLocalConfiguration, ContainerConfiguration, Loggable

public class JBoss5xStandaloneLocalConfiguration
extends JBossStandaloneLocalConfiguration

Version:
$Id: JBoss5xStandaloneLocalConfiguration.java 1850 2008-12-11 19:30:42Z mwringe $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.jboss.JBossStandaloneLocalConfiguration
jbossContainer
 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
 
Constructor Summary
JBoss5xStandaloneLocalConfiguration(String dir)
          
 
Method Summary
protected  org.apache.tools.ant.types.FilterChain createJBossFilterChain(JBoss5xInstalledLocalContainer container)
          Create and return a filterchain for the JBoss configuration files.
protected  void doConfigure(LocalContainer container)
          Implementation of LocalConfiguration.configure(LocalContainer) that all local configuration using this class must implement.
 
Methods inherited from class org.codehaus.cargo.container.jboss.JBossStandaloneLocalConfiguration
copyExternalResources, createJBossFilterChain, getCapability, getJbossContainer, toString, verify
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
configure, configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, 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, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandler
 
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

JBoss5xStandaloneLocalConfiguration

public JBoss5xStandaloneLocalConfiguration(String dir)

See Also:
AbstractStandaloneLocalConfiguration#AbstractStandaloneLocalConfiguration(String)
Method Detail

createJBossFilterChain

protected org.apache.tools.ant.types.FilterChain createJBossFilterChain(JBoss5xInstalledLocalContainer container)
                                                                 throws MalformedURLException
Create and return a filterchain for the JBoss configuration files.

Parameters:
container - The container
Returns:
the filterchain The filterchain
Throws:
MalformedURLException - If a MalformedURLException occurs

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...

Overrides:
doConfigure in class JBossStandaloneLocalConfiguration
Parameters:
container - the container to configure
Throws:
Exception - if any error is raised during the configuration
See Also:
AbstractLocalConfiguration.configure(LocalContainer)


Copyright © 2004-2012 Codehaus. All Rights Reserved.