- AbstractConfiguration - Class in org.codehaus.cargo.container.spi.configuration
-
- AbstractConfiguration() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
-
Default setup.
- AbstractConfigurationBuilder - Class in org.codehaus.cargo.container.spi.configuration.builder
- AbstractConfigurationBuilder() - Constructor for class org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
-
- AbstractConfigurationCapability - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation of
ConfigurationCapability
that needs to be extended by the different configuration implementations.
- AbstractConfigurationCapability() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability
-
Initialize the default supports Map.
- AbstractContainer - Class in org.codehaus.cargo.container.spi
-
Base implementation for all types of containers.
- AbstractContainer() - Constructor for class org.codehaus.cargo.container.spi.AbstractContainer
-
- AbstractCopyingInstalledLocalDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Local deployer that deploys WARs, EJBs and EARs to a deployable
directory of the
given installed container.
- AbstractCopyingInstalledLocalDeployer(InstalledLocalContainer) - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
- AbstractDeployable - Class in org.codehaus.cargo.container.spi.deployable
-
Common class for easy Deployable implementations.
- AbstractDeployable(String) - Constructor for class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
-
- AbstractDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Base deployer for local and remote deployments.
- AbstractDeployer() - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- AbstractDirectoryPackager - Class in org.codehaus.cargo.container.spi.packager
-
Package a container distribution and its local configuration in a directory.
- AbstractDirectoryPackager(String) - Constructor for class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- AbstractEmbeddedLocalContainer - Class in org.codehaus.cargo.container.spi
-
Default container implementation that all local embedded container implementations must extend.
- AbstractEmbeddedLocalContainer(LocalConfiguration) - Constructor for class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- AbstractEmbeddedLocalDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Base deployer to deploy to embedded local containers.
- AbstractEmbeddedLocalDeployer(EmbeddedLocalContainer) - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
- AbstractExistingLocalConfiguration - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation for an existing local configuration.
- AbstractExistingLocalConfiguration(String) - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
- AbstractExistingLocalConfigurationCapability - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation of
ConfigurationCapability
that needs to be
extended by each existing configuration's implementation.
- AbstractExistingLocalConfigurationCapability() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfigurationCapability
- AbstractInstalledLocalContainer - Class in org.codehaus.cargo.container.spi
-
Default container implementation that all local installed container implementations must extend.
- AbstractInstalledLocalContainer(LocalConfiguration) - Constructor for class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Default constructor.
- AbstractInstalledLocalDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Base deployer to deploy to installed local containers.
- AbstractInstalledLocalDeployer(LocalContainer) - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
- AbstractLocalConfiguration - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation of
ContainerConfiguration
that can be
specialized for standalone configuration, existing configuration or other local configurations.
- AbstractLocalConfiguration(String) - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- AbstractLocalContainer - Class in org.codehaus.cargo.container.spi
-
Default container implementation that all local container implementations must extend.
- AbstractLocalContainer(LocalConfiguration) - Constructor for class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Default constructor.
- AbstractLocalDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Base deployer to deploy to local containers (installed or embedded).
- AbstractLocalDeployer(LocalContainer) - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- AbstractRemoteContainer - Class in org.codehaus.cargo.container.spi
-
Base implementation of a remote container.
- AbstractRemoteContainer(RuntimeConfiguration) - Constructor for class org.codehaus.cargo.container.spi.AbstractRemoteContainer
-
Default constructor.
- AbstractRemoteDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Base deployer to deploy to containers without any reference to where the container is installed
(be it on the same machine or on another one).
- AbstractRemoteDeployer() - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
-
- AbstractRuntimeConfiguration - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation for a runtime configuration.
- AbstractRuntimeConfiguration() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractRuntimeConfiguration
-
- AbstractRuntimeConfigurationCapability - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation of
ConfigurationCapability
that needs to be extended by each runtime configuration's implementation.
- AbstractRuntimeConfigurationCapability() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractRuntimeConfigurationCapability
- AbstractStandaloneLocalConfiguration - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation for a standalone local configuration.
- AbstractStandaloneLocalConfiguration(String) - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
- AbstractStandaloneLocalConfigurationCapability - Class in org.codehaus.cargo.container.spi.configuration
-
Base implementation of
ConfigurationCapability
that needs to be extended by each standalone configuration's implementation.
- AbstractStandaloneLocalConfigurationCapability() - Constructor for class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfigurationCapability
- AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder - Class in org.codehaus.cargo.container.spi.configuration.builder
-
Convenience class that simplifies development of
configuration
s with
DataSourceSupport
.
- AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder(String) - Constructor for class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
- AbstractSwitchableLocalDeployer - Class in org.codehaus.cargo.container.spi.deployer
-
Implementation decides how to deploy or undeploy based on the running state of the server.
- AbstractSwitchableLocalDeployer(InstalledLocalContainer) - Constructor for class org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
- addDataSource(DataSource) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
- addDataSourcesFromProperties() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Parse properties and add any DataSources to pending configuration.
- addDeployable(Deployable) - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- addDeployable(Deployable) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- addExtraClasspath(String) - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- addExtraClasspath(String) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- addResource(Resource) - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
Add resources the container can take advantage of.
- addResource(Resource) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Add resources the container can take advantage of.
- addResourcesFromProperties() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Parse properties and add any Resources to pending configuration.
- addRole(String) - Method in class org.codehaus.cargo.container.property.User
-
- addRoles(List) - Method in class org.codehaus.cargo.container.property.User
-
- addSharedClasspath(String) - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- addSharedClasspath(String) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- addToolsJarToClasspath(Path) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Adds the tools.jar to the classpath, except for Mac OSX as it is not needed.
- AntBuildListener - Class in org.codehaus.cargo.container.internal.util
-
Ant build listener used to collect logs from Ant tasks and to redirect them to a
Logger
.
- AntBuildListener(Logger, String) - Constructor for class org.codehaus.cargo.container.internal.util.AntBuildListener
-
- AntContainerExecutorThread - Class in org.codehaus.cargo.container.internal
-
Executor that executes an Ant's Java
command in a separate thread.
- AntContainerExecutorThread(Java) - Constructor for class org.codehaus.cargo.container.internal.AntContainerExecutorThread
-
- canBeDeployed(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Checks whether the given Deployable can actually be deployed and whether a deployable has a
web context path that already exist in another previously deployed Deployable.
- clear() - Method in class org.codehaus.cargo.container.installer.Proxy
-
Clear all proxy settings.
- collectUnsupportedDataSourcesAndThrowException() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Warn user and throw an Exception if any unsupported
DataSource
s are setup for this
configuration.
- collectUnsupportedResourcesAndThrowException() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Warn user and throw an Exception if any unsupported
Resource
s are setup for this
configuration.
- Configuration - Interface in org.codehaus.cargo.container.configuration
-
A configuration represents how a container is configured: where deployables are deployed,
container ports, logging levels, container authentication, etc.
- ConfigurationBuilder - Interface in org.codehaus.cargo.container.configuration.builder
-
Builds String representations a Resource configuration.
- ConfigurationCapability - Interface in org.codehaus.cargo.container.configuration
-
Represents the capability of a configuration.
- ConfigurationEntryType - Interface in org.codehaus.cargo.container.configuration.builder
-
Represents the type of a resource, such as a javax.sql.DataSource
.
- ConfigurationType - Class in org.codehaus.cargo.container.configuration
-
- ConfigurationType(String) - Constructor for class org.codehaus.cargo.container.configuration.ConfigurationType
-
- configure(DataSource, LocalContainer) - Method in interface org.codehaus.cargo.container.configuration.entry.DataSourceSupport
-
- configure(Resource, LocalContainer) - Method in interface org.codehaus.cargo.container.configuration.entry.ResourceSupport
-
- configure(LocalContainer) - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
Setup the container which means setting up a valid directory structure, setting up
configuration files and deploying static deployables.
- configure() - Method in class org.codehaus.cargo.container.installer.Proxy
-
Set the Java system properties related to proxies.
- configure(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Setup the container which means setting up a valid directory structure, setting up
configuration files and deploying static deployables.
- configure(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Configure the specified container.
- configure(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
Configure the specified container.
- configure(Resource, LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
- configure(DataSource, LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
- configureDataSources(LocalContainer) - Method in interface org.codehaus.cargo.container.configuration.entry.DataSourceSupport
-
Configure the DataSources defined for this configuration.
- configureDataSources(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
Configure the DataSources defined for this configuration.
- configureFiles(FilterChain) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Copy the customized configuration files into the cargo home directory.
- configureResources(LocalContainer) - Method in interface org.codehaus.cargo.container.configuration.entry.ResourceSupport
-
Configure the Resources defined for this configuration.
- configureResources(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
Configure the Resources defined for this configuration.
- CONNECTION_PROPERTIES - Static variable in interface org.codehaus.cargo.container.property.DatasourcePropertySet
-
Extra properties passed to the JDBC driver or datasource implementation.
- CONNECTION_TYPE - Static variable in interface org.codehaus.cargo.container.property.DatasourcePropertySet
-
The type of the data source (typically javax.sql.XADataSource
,
javax.sql.ConnectionPoolDataSource
or javax.sql.DataSource
).
- CONNECTIONPOOL_DATASOURCE - Static variable in interface org.codehaus.cargo.container.configuration.builder.ConfigurationEntryType
-
ConnectionPool DataSource, used by frameworks who manage their own database connections.
- Container - Interface in org.codehaus.cargo.container
-
Common container API to wrap a physical container.
- ContainerCapability - Interface in org.codehaus.cargo.container
-
Represents the capability of a container.
- ContainerConfiguration - Interface in org.codehaus.cargo.container.spi.configuration
-
Container implementations of
Configuration
must also implement this interface.
- ContainerException - Exception in org.codehaus.cargo.container
-
Base exception class for all Cargo Container API classes.
- ContainerException(String) - Constructor for exception org.codehaus.cargo.container.ContainerException
-
- ContainerException(String, Throwable) - Constructor for exception org.codehaus.cargo.container.ContainerException
-
- ContainerType - Class in org.codehaus.cargo.container
-
- ContainerType(String) - Constructor for class org.codehaus.cargo.container.ContainerType
-
- ContainerUtils - Class in org.codehaus.cargo.container.spi.util
-
Set of common Container utility methods for people extending Cargo.
- convertToResource(DataSource, String, String) - Method in class org.codehaus.cargo.container.property.DataSourceConverter
-
This method converts the DataSource to a Resource.
- copyResource(String, File) - Method in class org.codehaus.cargo.container.internal.util.ResourceUtils
-
Copies a container resource from the JAR into the specified file.
- copyResource(String, String, FileHandler) - Method in class org.codehaus.cargo.container.internal.util.ResourceUtils
-
Copies a container resource from the JAR into the specified file using the specified
file handler.
- copyResource(String, File, FilterChain) - Method in class org.codehaus.cargo.container.internal.util.ResourceUtils
-
Copies a container resource from the JAR into the specified file, thereby applying the
specified filters.
- copyResource(String, String, FileHandler, FilterChain) - Method in class org.codehaus.cargo.container.internal.util.ResourceUtils
-
Copies a container resource from the JAR into the specified file, using the specified
file handler thereby applying the specified filters.
- createConfigurationBuilder(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
- createFilterChain() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Creates the default filter chain that should be applied while copying
container configuration files to the working directory from which
the container is started.
- createIdFromJndiLocation(String) - Static method in class org.codehaus.cargo.container.property.DataSourceConverter
-
Get a string name for the configuration of this datasource.
- createRoleMap(List) - Static method in class org.codehaus.cargo.container.property.User
-
Create a user map indexed on the roles.
- DATASOURCE - Static variable in interface org.codehaus.cargo.container.configuration.builder.ConfigurationEntryType
-
Standard DataSource, most often used by application code directly.
- DataSource - Class in org.codehaus.cargo.container.configuration.entry
-
A Datasource is a representation of a JDBC datasource.
- DataSource() - Constructor for class org.codehaus.cargo.container.configuration.entry.DataSource
-
initializes connectionProperties to a new object.
- DATASOURCE - Static variable in interface org.codehaus.cargo.container.property.DatasourcePropertySet
-
A property to encapsulate all the other datasource properties.
- DataSourceConverter - Class in org.codehaus.cargo.container.property
-
A DataSource is a representation of an database pool bound to JNDI.
- DataSourceConverter() - Constructor for class org.codehaus.cargo.container.property.DataSourceConverter
-
- DatasourcePropertySet - Interface in org.codehaus.cargo.container.property
-
Gathers all data source properties valid for all types of containers.
- DataSourceSupport - Interface in org.codehaus.cargo.container.configuration.entry
-
Designates support of DataSource configuration.
- DefaultServerRun - Class in org.codehaus.cargo.container.spi.util
-
Helper class to start/stop a container.
- DefaultServerRun(String[]) - Constructor for class org.codehaus.cargo.container.spi.util.DefaultServerRun
-
- defaultSupportsMap - Variable in class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability
-
Default support Map.
- deploy(Deployable) - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- deploy(Deployable, DeployableMonitor) - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- deploy(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- deploy(List) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
- deploy(Deployable, DeployableMonitor) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- deploy(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- deploy(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
-
Deploy a
Deployable
to the running container and make it available for requests.
- Deployable - Interface in org.codehaus.cargo.container.deployable
-
A deployable is a file archive to be deployed in a container (eg WAR, EAR, etc).
- DeployableException - Exception in org.codehaus.cargo.container.deployable
-
Exception thrown when a container encounters a problem with a deployable.
- DeployableException(String) - Constructor for exception org.codehaus.cargo.container.deployable.DeployableException
-
- DeployableException(String, Throwable) - Constructor for exception org.codehaus.cargo.container.deployable.DeployableException
-
- DeployableMonitor - Interface in org.codehaus.cargo.container.deployer
-
- DeployableMonitorListener - Interface in org.codehaus.cargo.container.deployer
-
Listener that is triggered when the deployment status of a
Deployable
changes.
- DeployableType - Class in org.codehaus.cargo.container.deployable
-
Type of Depoyable.
- deployEar(String, EAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the EAR file to the deployable directory.
- deployed() - Method in interface org.codehaus.cargo.container.deployer.DeployableMonitorListener
-
- deployed() - Method in class org.codehaus.cargo.container.spi.deployer.DeployerWatchdog
-
- deployEjb(String, EJB) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the EJB file to the deployable directory.
- Deployer - Interface in org.codehaus.cargo.container.deployer
-
API to manage all deployment aspects of
Deployable
: deploy, undeploy, start, stop
and restart.
- DeployerType - Class in org.codehaus.cargo.container.deployer
-
Type of Deployer.
- DeployerWatchdog - Class in org.codehaus.cargo.container.spi.deployer
-
Wait for a deployable to be deployed.
- DeployerWatchdog(DeployableMonitor) - Constructor for class org.codehaus.cargo.container.spi.deployer.DeployerWatchdog
-
- deployExpandedRar(String, RAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the full expanded RAR directory to the deployable directory, renaming it if
the user has specified a custom context for this expanded RAR.
- deployExpandedSar(String, SAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the full expanded SAR directory to the deployable directory, renaming it if
the user has specified a custom context for this expanded SAR.
- deployExpandedWar(String, WAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the full expanded WAR directory to the deployable directory, renaming it if the user
has specified a custom context for this expanded WAR.
- deployFile(String, File) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the file to the deployable directory.
- deployRar(String, RAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the RAR file to the deployable directory.
- deploySar(String, SAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the SAR file to the deployable directory.
- DEPLOYTOOL_CLASSPATH - Static variable in interface org.codehaus.cargo.container.property.JSR88PropertySet
-
Extra classpath necessary for the deployment tool (not the container itself!) to function.
- DEPLOYTOOL_JAR - Static variable in interface org.codehaus.cargo.container.property.JSR88PropertySet
-
JAR file to load the deployment tool from.
- deployWar(String, WAR) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Copy the WAR file to the deployable directory, renaming it if the user has specified a
custom context for this WAR.
- DIRECTORY - Static variable in class org.codehaus.cargo.container.packager.PackagerType
-
Represents a directory packager, ie a packager that creates a package in a given directory.
- doConfigure(LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- doRun() - Method in class org.codehaus.cargo.container.spi.util.DefaultServerRun
-
Parse and process the command line to start/stop the server.
- doStart() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
- doStart(Java) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- doStartServer(String[]) - Method in class org.codehaus.cargo.container.spi.util.DefaultServerRun
-
Starts the server (in a blocking mode) and set up a socket listener.
- doStop() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
- doStop(Java) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- doStopServer(String[]) - Method in class org.codehaus.cargo.container.spi.util.DefaultServerRun
-
Stops the server by connecting to the socket set up when the server
was started.
- download() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
Downloads the zip file containing the container files.
- DRIVER_CLASS - Static variable in interface org.codehaus.cargo.container.property.DatasourcePropertySet
-
The class name of the Driver or XADataSource implementation clas.
- GeneralPropertySet - Interface in org.codehaus.cargo.container.property
-
Gathers all general container properties valid for all types of containers.
- getAntUtils() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- getAntUtils() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- getCapability() - Method in interface org.codehaus.cargo.container.configuration.Configuration
-
- getCapability() - Method in interface org.codehaus.cargo.container.Container
-
- getClassLoader() - Method in interface org.codehaus.cargo.container.EmbeddedLocalContainer
-
- getClassLoader() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
- getClassName() - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
- getColdDeployer() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
-
this deployer will be used when the server is not running.
- getConfigfile() - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Returns true if the file is marked as a configuration file
- getConfiguration() - Method in interface org.codehaus.cargo.container.LocalContainer
-
- getConfiguration() - Method in interface org.codehaus.cargo.container.RemoteContainer
-
- getConfiguration() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- getConfiguration() - Method in class org.codehaus.cargo.container.spi.AbstractRemoteContainer
- getConfigurationExclusions() - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- getConnectionProperties() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
Extra properties passed to the JDBC Driver.
- getConnectionPropertiesAsASemicolonDelimitedString(DataSource) - Method in class org.codehaus.cargo.container.property.DataSourceConverter
-
tests to see if the value is null before attempting to join the database properties on a
semicolon.
- getConnectionType() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The type of the data source (typically javax.sql.XADataSource
or
javax.sql.DataSource
).
- getContainer() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- getContext() - Method in class org.codehaus.cargo.container.deployable.WAR
-
- getCPCURL(Configuration) - Static method in class org.codehaus.cargo.container.spi.util.ContainerUtils
-
- getDataSources() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- getDeployableDir() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Specifies the directory
Deployable
s
should be copied to.
- getDeployableName() - Method in interface org.codehaus.cargo.container.deployer.DeployableMonitor
-
- getDeployableName() - Method in class org.codehaus.cargo.container.deployer.URLDeployableMonitor
- getDeployables() - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- getDeployables() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
- getDestDirectoryLocation(String, String) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Determines the correct path for the destination directory.
- getDestFileLocation(String, String, String) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Determines the correct path for the destination file.
- getDestinationDir() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- getDistributionExclusions() - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- getDriverClass() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The class name of the Driver or XADataSource.
- getExcludeHosts() - Method in class org.codehaus.cargo.container.installer.Proxy
-
- getExtraClasspath() - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- getExtraClasspath() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- getFile() - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Returns the name of the file to be used.
- getFile() - Method in interface org.codehaus.cargo.container.deployable.Deployable
-
- getFile() - Method in class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
- getFileHandler() - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- getFileHandler() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- getFileHandler() - Method in interface org.codehaus.cargo.container.LocalContainer
-
- getFileHandler() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- getFileHandler() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- getFileHandler() - Method in class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
-
- getFileHandler() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- getFileHandler() - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- getFileProperties() - Method in interface org.codehaus.cargo.container.configuration.StandaloneLocalConfiguration
-
Returns the file configurations.
- getFileProperties() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Returns the file configurations.
- getFilterChain() - Method in interface org.codehaus.cargo.container.configuration.StandaloneLocalConfiguration
-
Returns the filterchain for this configuration.
- getFilterChain() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Returns the filterchain for this configuration.
- getHome() - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- getHome() - Method in interface org.codehaus.cargo.container.InstalledLocalContainer
-
- getHome() - Method in interface org.codehaus.cargo.container.installer.Installer
-
- getHome() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
- getHome() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- getHome() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
- getHost() - Method in class org.codehaus.cargo.container.installer.Proxy
-
- getHotDeployer() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
-
this deployer will be used when the server is running.
- getHttpUtils() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- getId() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The String used to identify this datasource in configuration files.
- getId() - Method in interface org.codehaus.cargo.container.Container
-
- getInstallDirName() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- getJdkUtils() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- getJndiLocation() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The JNDI location that this datasource should be bound do (in the config file).
- getName() - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
- getName() - Method in interface org.codehaus.cargo.container.Container
-
- getName() - Method in class org.codehaus.cargo.container.deployable.EAR
-
- getName() - Method in class org.codehaus.cargo.container.property.User
-
- getNamespaces() - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
Implementations should avoid passing null, and instead pass
Collections.EMPTY_MAP
, if the document is DTD bound.
- getOrCreateDataSourceConfigurationFile(DataSource, LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
note that this file could hold other configuration besides datasources.
- getOrCreateResourceConfigurationFile(Resource, LocalContainer) - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
note that this file could hold other configuration besides Resources.
- getOutput() - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
- getOutput() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- getOverwrite() - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Return true if the file should overwrite an existing file.
- getParameter(String) - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
Get a stored parameter.
- getParameterNames() - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
- getParameters() - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
Get parameters.
- getParametersAsASemicolonDelimitedString(Resource) - Method in class org.codehaus.cargo.container.property.ResourceConverter
-
tests to see if the value is null before attempting to join the database properties on a
semicolon.
- getPassword() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The password to use when connecting to the database.
- getPassword() - Method in class org.codehaus.cargo.container.installer.Proxy
-
- getPassword() - Method in class org.codehaus.cargo.container.property.User
-
- getPort() - Method in class org.codehaus.cargo.container.installer.Proxy
-
- getProperties() - Method in interface org.codehaus.cargo.container.configuration.Configuration
-
- getProperties() - Method in interface org.codehaus.cargo.container.configuration.ConfigurationCapability
-
- getProperties() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
- getProperties() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability
- getPropertySupportMap() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability
-
- getPropertyValue(String) - Method in interface org.codehaus.cargo.container.configuration.Configuration
-
- getPropertyValue(String) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
- getResourceLocation(String) - Method in class org.codehaus.cargo.container.internal.util.ResourceUtils
-
Search for the given resource and return the directory or archive that contains it.
- getResources() - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- getResources() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- getResourceUtils() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- getResourceUtils() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- getRoles() - Method in class org.codehaus.cargo.container.property.User
-
- getSharedClasspath() - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- getSharedClasspath() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- getSourceFileName() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- getState() - Method in interface org.codehaus.cargo.container.Container
-
- getState() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- getState() - Method in class org.codehaus.cargo.container.spi.AbstractRemoteContainer
- getSystemProperties() - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- getSystemProperties() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- getTargetDirectory() - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- getTimeout() - Method in interface org.codehaus.cargo.container.deployer.DeployableMonitor
-
- getTimeout() - Method in class org.codehaus.cargo.container.deployer.URLDeployableMonitor
- getTimeout() - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
- getTimeout() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- getToDir() - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Returns the name of the destination directory.
- getToFile() - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Returns the name of the destination file.
- getToolsJar() - Method in class org.codehaus.cargo.container.internal.util.JdkUtils
-
Returns the file containing the JDK tools (such as the compiler).
- getTransactionSupport() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The transaction support of the underlying connections, if javax.xml.DataSource
.
- getType() - Method in interface org.codehaus.cargo.container.configuration.Configuration
-
- getType() - Method in class org.codehaus.cargo.container.configuration.ConfigurationType
-
- getType() - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
- getType() - Method in interface org.codehaus.cargo.container.Container
-
- getType() - Method in class org.codehaus.cargo.container.ContainerType
-
- getType() - Method in interface org.codehaus.cargo.container.deployable.Deployable
-
- getType() - Method in class org.codehaus.cargo.container.deployable.DeployableType
-
- getType() - Method in class org.codehaus.cargo.container.deployable.EAR
- getType() - Method in class org.codehaus.cargo.container.deployable.EJB
- getType() - Method in class org.codehaus.cargo.container.deployable.File
- getType() - Method in class org.codehaus.cargo.container.deployable.RAR
- getType() - Method in class org.codehaus.cargo.container.deployable.SAR
- getType() - Method in class org.codehaus.cargo.container.deployable.WAR
- getType() - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
- getType() - Method in class org.codehaus.cargo.container.deployer.DeployerType
-
- getType() - Method in class org.codehaus.cargo.container.packager.PackagerType
-
- getType() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- getType() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- getType() - Method in class org.codehaus.cargo.container.spi.AbstractRemoteContainer
- getType() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
- getType() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractRuntimeConfiguration
- getType() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
- getType() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
- getType() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
- getType() - Method in class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
- getUrl() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The url to connect to the database.
- getUser() - Method in class org.codehaus.cargo.container.installer.Proxy
-
- getUsername() - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
The username to use when connecting to the database.
- getWebContexts() - Method in class org.codehaus.cargo.container.deployable.EAR
-
- getWebUri(String) - Method in class org.codehaus.cargo.container.deployable.EAR
-
- getXpathForDataSourcesParent() - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
DataSource entries must be stored in the xml configuration file.
- getXpathForResourcesParent() - Method in class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
Resource entries must be stored in the xml configuration file.
- packageContainer(InstalledLocalContainer) - Method in interface org.codehaus.cargo.container.packager.Packager
-
Package an installed container distribution and its local configuration in a single location.
- packageContainer(InstalledLocalContainer) - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
Package an installed container distribution and its local configuration in a single location.
- Packager - Interface in org.codehaus.cargo.container.packager
-
Gathers an installed container distribution and a local configuration in a single location.
- PackagerType - Class in org.codehaus.cargo.container.packager
-
- PackagerType(String) - Constructor for class org.codehaus.cargo.container.packager.PackagerType
-
- PARAMETERS - Static variable in interface org.codehaus.cargo.container.property.ResourcePropertySet
-
Parameters passed to the implementation class.
- parsePropertiesForPendingConfiguration() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
Some configuration can be specified as encoded properties.
- parseRoles(String) - Static method in class org.codehaus.cargo.container.property.User
-
Parse roles defined as a list in the format "role1,role2,...,roleN".
- parseUser(String) - Static method in class org.codehaus.cargo.container.property.User
-
Parse a user defined in the format "name:pwd:role1,...roleN".
- parseUsers(String) - Static method in class org.codehaus.cargo.container.property.User
-
- PASSWORD - Static variable in interface org.codehaus.cargo.container.property.DatasourcePropertySet
-
The password to use when connecting to the database.
- PASSWORD - Static variable in interface org.codehaus.cargo.container.property.JSR88PropertySet
-
Password to use when acquiring a javax.enterprise.deploy.spi.DeploymentManager
.
- PASSWORD - Static variable in interface org.codehaus.cargo.container.property.RemotePropertySet
-
Password to use to authenticate against a remote container (when deploying for example).
- ping(URL) - Method in class org.codehaus.cargo.container.internal.util.HttpUtils
-
- ping(URL, HttpUtils.HttpResult) - Method in class org.codehaus.cargo.container.internal.util.HttpUtils
-
- ping(URL, Map, HttpUtils.HttpResult) - Method in class org.codehaus.cargo.container.internal.util.HttpUtils
-
- PORT - Static variable in interface org.codehaus.cargo.container.property.ServletPropertySet
-
Port on which the Servlet/JSP container is listening to.
- PropertyUtils - Class in org.codehaus.cargo.container.internal.util
-
A class to convert properties to strings and back.
- PROTOCOL - Static variable in interface org.codehaus.cargo.container.property.GeneralPropertySet
-
Protocol on which the container is listening to.
- Proxy - Class in org.codehaus.cargo.container.installer
-
Nested Ant element to specify proxy properties.
- Proxy() - Constructor for class org.codehaus.cargo.container.installer.Proxy
-
- RAR - Static variable in class org.codehaus.cargo.container.deployable.DeployableType
-
The RAR deployable type.
- RAR - Class in org.codehaus.cargo.container.deployable
-
Wraps an RAR file that will be deployed in the container.
- RAR(String) - Constructor for class org.codehaus.cargo.container.deployable.RAR
- redeploy(Deployable) - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
Redeploy a
Deployable
already deployed to the running container.
- redeploy(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
Redeploy a
Deployable
already deployed to the running container.
- registerInstallation() - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
Create timestamp file to register that the installation has been successful.
- registerListener(DeployableMonitorListener) - Method in interface org.codehaus.cargo.container.deployer.DeployableMonitor
-
Register a listener that we will warn about the deployment status of the associated
Deployable
.
- registerListener(DeployableMonitorListener) - Method in class org.codehaus.cargo.container.deployer.URLDeployableMonitor
-
Register a listener that we will warn about the deployment status of the associated
Deployable
.
- REMOTE - Static variable in class org.codehaus.cargo.container.ContainerType
-
Represents a remote container type.
- REMOTE - Static variable in class org.codehaus.cargo.container.deployer.DeployerType
-
A deployer type to deploy to a remote container.
- RemoteContainer - Interface in org.codehaus.cargo.container
-
A remote container is a container that is already installed and started (locally or on a remote
machine).
- RemotePropertySet - Interface in org.codehaus.cargo.container.property
-
Gathers all general container properties valid for all types of remote containers.
- Resource - Class in org.codehaus.cargo.container.configuration.entry
-
Represents a resource, such as a datasource.
- Resource(String, String) - Constructor for class org.codehaus.cargo.container.configuration.entry.Resource
-
- RESOURCE - Static variable in interface org.codehaus.cargo.container.property.ResourcePropertySet
-
A property to encapsulate all the other resource properties.
- RESOURCE_CLASS - Static variable in interface org.codehaus.cargo.container.property.ResourcePropertySet
-
The class name of the Resource implementation class.
- RESOURCE_NAME - Static variable in interface org.codehaus.cargo.container.property.ResourcePropertySet
-
The JNDI location that this datasource should be bound do (in the config file).
- RESOURCE_PATH - Static variable in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
The path under which the container resources are stored in the JAR.
- RESOURCE_TYPE - Static variable in interface org.codehaus.cargo.container.property.ResourcePropertySet
-
The type of the resource (ex.
- ResourceConverter - Class in org.codehaus.cargo.container.property
-
A Resource is a representation of an object bound to JNDI.
- ResourceConverter() - Constructor for class org.codehaus.cargo.container.property.ResourceConverter
-
- ResourcePropertySet - Interface in org.codehaus.cargo.container.property
-
Gathers all resource properties valid for all types of containers.
- ResourceSupport - Interface in org.codehaus.cargo.container.configuration.entry
-
- ResourceUtils - Class in org.codehaus.cargo.container.internal.util
-
Utility class that provides a couple of methods for extracting files stored as resource in a JAR.
- ResourceUtils() - Constructor for class org.codehaus.cargo.container.internal.util.ResourceUtils
-
- responseBody - Variable in class org.codehaus.cargo.container.internal.util.HttpUtils.HttpResult
-
The HTTP connection response body.
- responseCode - Variable in class org.codehaus.cargo.container.internal.util.HttpUtils.HttpResult
-
The HTTP connection response code (eg 200).
- responseMessage - Variable in class org.codehaus.cargo.container.internal.util.HttpUtils.HttpResult
-
The HTTP connection response message (eg "Ok").
- RMI_PORT - Static variable in interface org.codehaus.cargo.container.property.GeneralPropertySet
-
The port to use when communicating with this server, for example to start and stop it.
- run() - Method in class org.codehaus.cargo.container.internal.AntContainerExecutorThread
-
Execute the Ant's java command.
- run() - Method in class org.codehaus.cargo.container.spi.util.DefaultServerRun
-
Sets up a listener socket and wait until we receive a request on it to
stop the running server.
- RunnableContainer - Interface in org.codehaus.cargo.container.internal
-
All methods that a container that can be started/stopped must implement.
- RUNTIME - Static variable in class org.codehaus.cargo.container.configuration.ConfigurationType
-
Represents a runtime configuration type.
- RuntimeConfiguration - Interface in org.codehaus.cargo.container.configuration
-
A runtime configuration represents a configuration for a container that is already started.
- SAR - Static variable in class org.codehaus.cargo.container.deployable.DeployableType
-
The SAR deployable type.
- SAR - Class in org.codehaus.cargo.container.deployable
-
Wraps an SAR file that will be deployed in the container.
- SAR(String) - Constructor for class org.codehaus.cargo.container.deployable.SAR
- ServletContainerCapability - Class in org.codehaus.cargo.container.internal
-
Capability for Servlet containers.
- ServletContainerCapability() - Constructor for class org.codehaus.cargo.container.internal.ServletContainerCapability
-
- ServletPropertySet - Interface in org.codehaus.cargo.container.property
-
Gathers all properties related to Servlet/JSP containers.
- setAntTaskFactory(AntTaskFactory) - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
Convenience method used for testing in isolation.
- setAppend(boolean) - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
Sets whether output of the container should be appended to an existing file, or the existing
file should be truncated.
- setAppend(boolean) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Sets whether output of the container should be appended to an existing file, or the existing
file should be truncated.
- setClassLoader(ClassLoader) - Method in interface org.codehaus.cargo.container.EmbeddedLocalContainer
-
- setClassLoader(ClassLoader) - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
- setClassName(String) - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
- setConfigfile(String) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Set if the destination should be considered a configuration file
- setConfigfile(boolean) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Set if the destination should be considered a configuration file
- setConfigFileProperty(FileConfig) - Method in interface org.codehaus.cargo.container.configuration.StandaloneLocalConfiguration
-
set the config file property for a configuration.
- setConfigFileProperty(FileConfig) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
set the config file property for a configuration.
- setConfiguration(LocalConfiguration) - Method in interface org.codehaus.cargo.container.LocalContainer
-
- setConfiguration(RuntimeConfiguration) - Method in interface org.codehaus.cargo.container.RemoteContainer
-
- setConfiguration(LocalConfiguration) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- setConfiguration(RuntimeConfiguration) - Method in class org.codehaus.cargo.container.spi.AbstractRemoteContainer
- setConnectionProperties(Properties) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setConnectionType(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setContext(String) - Method in class org.codehaus.cargo.container.deployable.WAR
-
- setDriverClass(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setExcludeHosts(String) - Method in class org.codehaus.cargo.container.installer.Proxy
-
List of hosts which should be connected too directly and not through the proxy server.
- setExtraClasspath(String[]) - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- setExtraClasspath(String[]) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- setFile(String) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Sets the file to be used.
- setFileHandler(FileHandler) - Method in interface org.codehaus.cargo.container.configuration.LocalConfiguration
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- setFileHandler(FileHandler) - Method in interface org.codehaus.cargo.container.LocalContainer
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- setFileHandler(FileHandler) - Method in class org.codehaus.cargo.container.spi.packager.AbstractDirectoryPackager
-
- setFileProperty(FileConfig) - Method in interface org.codehaus.cargo.container.configuration.StandaloneLocalConfiguration
-
set the file property for a configuration.
- setFileProperty(FileConfig) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
set the file property for a configuration.
- setHome(String) - Method in interface org.codehaus.cargo.container.InstalledLocalContainer
-
- setHome(String) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- setHost(String) - Method in class org.codehaus.cargo.container.installer.Proxy
-
- setId(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setInstallDir(String) - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
- setJndiLocation(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setJvmToLaunchContainerIn(Java) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Determines which java virtual machine will run the container.
- setLogger(Logger) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Overriden in order to set the logger on ancillary components.
- setName(String) - Method in class org.codehaus.cargo.container.deployable.EAR
-
- setName(String) - Method in class org.codehaus.cargo.container.property.User
-
- setOutput(String) - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
- setOutput(String) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- setOverwrite(String) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Set if the destination file should be overwritten.
- setOverwrite(boolean) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Set if the destination file should be overwritten.
- setParameter(String, String) - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
Set a resource parameter.
- setParameters(Map) - Method in class org.codehaus.cargo.container.configuration.entry.Resource
-
Set parameters.
- setPassword(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setPassword(String) - Method in class org.codehaus.cargo.container.installer.Proxy
-
- setPassword(String) - Method in class org.codehaus.cargo.container.property.User
-
Sets the authenticated user password.
- setPort(int) - Method in class org.codehaus.cargo.container.installer.Proxy
-
- setProperty(String, String) - Method in interface org.codehaus.cargo.container.configuration.Configuration
-
A property is a configuration value for the container (eg the web port, the number of
executing threads, etc).
- setProperty(String, String) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
-
A property is a configuration value for the container (eg the web port, the number of
executing threads, etc).
- setPropertyIfNotNull(Properties, String, Object) - Static method in class org.codehaus.cargo.container.internal.util.PropertyUtils
-
Sets a property value if the property is not null.
- setProxy(Proxy) - Method in class org.codehaus.cargo.container.installer.ZipURLInstaller
-
Sets proxy details.
- setSharedClasspath(String[]) - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- setSharedClasspath(String[]) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- setShouldDeployExpandedRARs(boolean) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Decide whether expanded RARs should be deployed.
- setShouldDeployExpandedSARs(boolean) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Decide whether expanded SARs should be deployed.
- setShouldDeployExpandedWARs(boolean) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
-
Decide whether expanded WARs should be deployed.
- setState(State) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- setSystemProperties(Map) - Method in interface org.codehaus.cargo.container.internal.SpawnedContainer
-
- setSystemProperties(Map) - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- setTimeout(long) - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
- setTimeout(long) - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- setToDir(String) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Sets the destination directory to use.
- setToFile(String) - Method in class org.codehaus.cargo.container.configuration.FileConfig
-
Sets the destination file name.
- setTransactionSupport(TransactionSupport) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setupConfigurationDir() - Method in class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
-
Set up the configuration directory (create it and clean it).
- setUrl(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- setUser(String) - Method in class org.codehaus.cargo.container.installer.Proxy
-
- setUsername(String) - Method in class org.codehaus.cargo.container.configuration.entry.DataSource
-
- sleep(long) - Method in class org.codehaus.cargo.container.internal.util.JdkUtils
-
Pauses the current thread for the specified amount.
- SpawnedContainer - Interface in org.codehaus.cargo.container.internal
-
All methods that a container that is spawned must implement.
- splitPropertiesOnDelimiter(String, char) - Static method in class org.codehaus.cargo.container.internal.util.PropertyUtils
-
Construct a Properties object from a single string, by splitting it on a specified delimiter.
- splitPropertiesOnPipe(String) - Static method in class org.codehaus.cargo.container.internal.util.PropertyUtils
-
Construct a Properties object from a single string, converting '|' symbols to end of line
characters for parsing.
- splitPropertiesOnSemicolon(String) - Static method in class org.codehaus.cargo.container.internal.util.PropertyUtils
-
Construct a Properties object from a single string, converting ';' symbols to end of line
characters for parsing.
- STANDALONE - Static variable in class org.codehaus.cargo.container.configuration.ConfigurationType
-
Represents a standalone configuration type.
- StandaloneLocalConfiguration - Interface in org.codehaus.cargo.container.configuration
-
Using a standalone configuration allows Cargo to create a valid configuration for your container
in the directory of your choice.
- start(Deployable) - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
Starts a
Deployable
that is already deployed in the running container but that is
not servicing requests.
- start() - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
Starts the container.
- start() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Starts the container.
- start(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
Starts a
Deployable
that is already deployed in the running container but that is
not servicing requests.
- STARTED - Static variable in class org.codehaus.cargo.container.State
-
State when container is started.
- STARTING - Static variable in class org.codehaus.cargo.container.State
-
State when container is starting.
- startInternal() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStart
method.
- startInternal() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStart
method.
- startInternal() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStart
method.
- State - Class in org.codehaus.cargo.container
-
Represent the container states (started, starting, stopped, etc).
- stop(Deployable) - Method in interface org.codehaus.cargo.container.deployer.Deployer
-
Stop a
Deployable
that is already deployed in the running container in order to
prevent it from servicing requests.
- stop() - Method in interface org.codehaus.cargo.container.internal.RunnableContainer
-
Stops the container.
- stop() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Stops the container.
- stop(Deployable) - Method in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
Stop a
Deployable
that is already deployed in the running container in order to
prevent it from servicing requests.
- stopInternal() - Method in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStop
method.
- stopInternal() - Method in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStop
method.
- stopInternal() - Method in class org.codehaus.cargo.container.spi.AbstractLocalContainer
-
Installed and Embedded containers do not have the same signature for their
doStop
method.
- STOPPED - Static variable in class org.codehaus.cargo.container.State
-
State when container is stopped.
- STOPPING - Static variable in class org.codehaus.cargo.container.State
-
State when container is stopping.
- supportsDeployableType(DeployableType) - Method in interface org.codehaus.cargo.container.ContainerCapability
-
- supportsDeployableType(DeployableType) - Method in class org.codehaus.cargo.container.internal.J2EEContainerCapability
- supportsDeployableType(DeployableType) - Method in class org.codehaus.cargo.container.internal.ServletContainerCapability
- supportsProperty(String) - Method in interface org.codehaus.cargo.container.configuration.ConfigurationCapability
-
- supportsProperty(String) - Method in class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationCapability