Class Resin4xStandaloneLocalConfiguration
- 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.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
- org.codehaus.cargo.container.resin.internal.AbstractResinStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.resin.Resin3xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.resin.Resin31xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.resin.Resin4xStandaloneLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,DataSourceSupport
,ResourceSupport
,LocalConfiguration
,StandaloneLocalConfiguration
,ContainerConfiguration
,Loggable
public class Resin4xStandaloneLocalConfiguration extends Resin31xStandaloneLocalConfiguration
Resin 4.x standaloneContainerConfiguration
implementation.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.resin.Resin3xStandaloneLocalConfiguration
XML_PARENT_OF_RESOURCES
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description Resin4xStandaloneLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getResinConfigurationFileName()
protected void
prepareConfigurationDirectory(Container container, String confDir)
Allow specific version implementations to add custom preparation steps before the container is started.-
Methods inherited from class org.codehaus.cargo.container.resin.Resin3xStandaloneLocalConfiguration
createConfigurationBuilder, getCapability, getNamespaces, getResinLoggingLevel, getXpathForResourcesParent
-
Methods inherited from class org.codehaus.cargo.container.resin.internal.AbstractResinStandaloneLocalConfiguration
createExpandedWarTokenValue, doConfigure, getOrCreateDataSourceConfigurationFile, getOrCreateResourceConfigurationFile, getSecurityToken, getXpathForDataSourcesParent, toString
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
configure, configure, configure, configureDataSources, configureResources, writeConfigurationToXpath
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
addXmlReplacement, addXmlReplacement, addXmlReplacement, addXmlReplacement, configureFiles, getType, getXmlReplacements, performXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verify
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, flagOffsetApplied, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getHome, getPropertyValue, getReplacements, getResources, getResourceUtils, getUsers, isOffsetApplied, isOffsetApplied, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLogger
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
getProperties, setProperty
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger
-
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.Configuration
getProperties, getPropertyValue, setProperty
-
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addDataSource, addDeployable, addResource, addUser, applyPortOffset, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
-
-
-
-
Constructor Detail
-
Resin4xStandaloneLocalConfiguration
public Resin4xStandaloneLocalConfiguration(String dir)
-
-
Method Detail
-
prepareConfigurationDirectory
protected void prepareConfigurationDirectory(Container container, String confDir) throws IOException
Allow specific version implementations to add custom preparation steps before the container is started.- Overrides:
prepareConfigurationDirectory
in classResin31xStandaloneLocalConfiguration
- Parameters:
container
- the container to configureconfDir
- Resinconf
directory- Throws:
IOException
- in case of an error
-
getResinConfigurationFileName
protected String getResinConfigurationFileName()
- Overrides:
getResinConfigurationFileName
in classAbstractResinStandaloneLocalConfiguration
- Returns:
- Resin configuration file name.
-
-