Class Jetty12xStandaloneLocalConfiguration
- 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.jetty.internal.AbstractJettyStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty6xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty7xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty8xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty9xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty10xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty11xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.jetty.Jetty12xStandaloneLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,LocalConfiguration
,StandaloneLocalConfiguration
,ContainerConfiguration
,Loggable
public class Jetty12xStandaloneLocalConfiguration extends Jetty11xStandaloneLocalConfiguration
Jetty 12.x standaloneContainerConfiguration
implementation.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description Jetty12xStandaloneLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureDatasource(LocalContainer container, String etcDir)
Jetty 12.x requiring differentjetty-plus
modules for different EE versions, this implementation creates no replacements, but rather adds thec3p0
and other JARs to the container classpath.protected String
configureRealmXml()
Configure the XML portions for the authentication realm.protected AbstractCopyingInstalledLocalDeployer
createDeployer(InstalledLocalContainer container)
Creates a new deployer for the specified container.protected List<String>
getWebdefaultFiles()
String
toString()
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty10xStandaloneLocalConfiguration
getCapability
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty9xStandaloneLocalConfiguration
doConfigure
-
Methods inherited from class org.codehaus.cargo.container.jetty.Jetty7xStandaloneLocalConfiguration
createDatasourceDefinitions
-
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, configure, 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, configure, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
-
-
-
-
Constructor Detail
-
Jetty12xStandaloneLocalConfiguration
public Jetty12xStandaloneLocalConfiguration(String dir)
-
-
Method Detail
-
getWebdefaultFiles
protected List<String> getWebdefaultFiles()
- Overrides:
getWebdefaultFiles
in classJetty6xStandaloneLocalConfiguration
- Returns:
- Jetty
webdefault.xml
file name.
-
createDeployer
protected AbstractCopyingInstalledLocalDeployer createDeployer(InstalledLocalContainer container)
Creates a new deployer for the specified container.- Overrides:
createDeployer
in classJetty9xStandaloneLocalConfiguration
- Parameters:
container
- The container for which to create the deployer, must not benull
.- Returns:
- The new deployer, never
null
.
-
configureRealmXml
protected String configureRealmXml()
Configure the XML portions for the authentication realm.- Overrides:
configureRealmXml
in classJetty7xStandaloneLocalConfiguration
- Returns:
- XML portions for the authentication realm.
-
configureDatasource
protected void configureDatasource(LocalContainer container, String etcDir) throws IOException
Jetty 12.x requiring differentjetty-plus
modules for different EE versions, this implementation creates no replacements, but rather adds thec3p0
and other JARs to the container classpath. Configure datasource definitions.- Overrides:
configureDatasource
in classJetty8xStandaloneLocalConfiguration
- Parameters:
container
- Container.etcDir
- Theetc
directory of the configuration.- Throws:
IOException
- If the pooling component cannot be copied.
-
toString
public String toString()
- Overrides:
toString
in classJetty11xStandaloneLocalConfiguration
-
-