org.codehaus.cargo.container.configuration
Interface Configuration

All Superinterfaces:
Loggable
All Known Subinterfaces:
ExistingLocalConfiguration, LocalConfiguration, RuntimeConfiguration, StandaloneLocalConfiguration
All Known Implementing Classes:
AbstractCatalinaStandaloneLocalConfiguration, AbstractConfiguration, AbstractExistingLocalConfiguration, AbstractJettyStandaloneLocalConfiguration, AbstractLocalConfiguration, AbstractOrionStandaloneLocalConfiguration, AbstractResinStandaloneLocalConfiguration, AbstractRuntimeConfiguration, AbstractStandaloneLocalConfiguration, AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder, Geronimo1xExistingLocalConfiguration, Geronimo1xStandaloneLocalConfiguration, JBoss5xStandaloneLocalConfiguration, JBossExistingLocalConfiguration, JBossRuntimeConfiguration, JBossStandaloneLocalConfiguration, Jetty4xEmbeddedStandaloneLocalConfiguration, Jetty5xEmbeddedStandaloneLocalConfiguration, Jetty6xEmbeddedStandaloneLocalConfiguration, Jetty6xStandaloneLocalConfiguration, Jetty7xEmbeddedStandaloneLocalConfiguration, Jetty7xStandaloneLocalConfiguration, JettyRuntimeConfiguration, Jo1xStandaloneLocalConfiguration, JRun4xExistingLocalConfiguration, JRun4xStandaloneLocalConfiguration, Oc4j10xExistingLocalConfiguration, Oc4j9xStandaloneLocalConfiguration, Resin2xStandaloneLocalConfiguration, Resin3xStandaloneLocalConfiguration, ResinExistingLocalConfiguration, Tomcat4xStandaloneLocalConfiguration, Tomcat5xStandaloneLocalConfiguration, Tomcat6xStandaloneLocalConfiguration, TomcatExistingLocalConfiguration, TomcatRuntimeConfiguration, WebLogic103xStandaloneLocalConfiguration, WebLogic10xStandaloneLocalConfiguration, WebLogic9xExistingLocalConfiguration, WebLogic9xStandaloneLocalConfiguration, WebLogicExistingLocalConfiguration, WebLogicStandaloneLocalConfiguration

public interface Configuration
extends Loggable

A configuration represents how a container is configured: where deployables are deployed, container ports, logging levels, container authentication, etc. Cargo supports several types of configuration:

Version:
$Id: Configuration.java 1705 2008-09-02 13:14:55Z adriana $

Method Summary
 ConfigurationCapability getCapability()
           
 Map getProperties()
           
 String getPropertyValue(String name)
           
 ConfigurationType getType()
           
 void setProperty(String name, String value)
          A property is a configuration value for the container (eg the web port, the number of executing threads, etc).
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Method Detail

setProperty

void setProperty(String name,
                 String value)
A property is a configuration value for the container (eg the web port, the number of executing threads, etc).

Parameters:
name - the property name
value - the property value

getProperties

Map getProperties()
Returns:
the list of properties set
See Also:
setProperty(String, String)

getPropertyValue

String getPropertyValue(String name)
Parameters:
name - the property name for which to return the value
Returns:
the property's value
See Also:
setProperty(String, String)

getCapability

ConfigurationCapability getCapability()
Returns:
the ConfigurationCapability of the configuration in term of properties it supports, etc

getType

ConfigurationType getType()
Returns:
the configuration type (standalone, existing, runtime, etc)


Copyright © 2004-2012 Codehaus. All Rights Reserved.