|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
public abstract class AbstractConfiguration
Base implementation of
ContainerConfiguration
that can be
specialized for any type of configuration.
Constructor Summary | |
---|---|
AbstractConfiguration()
Default setup. |
Method Summary | |
---|---|
java.util.Map |
getProperties()
|
java.lang.String |
getPropertyValue(java.lang.String name)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
A property is a configuration value for the container (eg the web port, the number of executing threads, etc). |
void |
verify()
Verify that the configuration is valid. |
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, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration |
---|
getCapability, getType |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
---|
getLogger, setLogger |
Constructor Detail |
---|
public AbstractConfiguration()
Method Detail |
---|
public void setProperty(java.lang.String name, java.lang.String value)
setProperty
in interface Configuration
name
- the property namevalue
- the property valueConfiguration.setProperty(String, String)
public java.util.Map getProperties()
getProperties
in interface Configuration
Configuration.getProperties()
public java.lang.String getPropertyValue(java.lang.String name)
getPropertyValue
in interface Configuration
name
- the property name for which to return the value
Configuration.getPropertyValue(String)
public void verify()
verify
in interface ContainerConfiguration
ContainerConfiguration.verify()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |