|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationFactory
Create a Configuration knowing the container to which it is attached to and the
configuration type. A container is identified by both its id and its type. Indeed, it's possible
to register different configuration classes for the same container id but for a different
container type.
| Method Summary | |
|---|---|
org.codehaus.cargo.container.configuration.Configuration |
createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
Create a configuration instance matching the specified container and type. |
org.codehaus.cargo.container.configuration.Configuration |
createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType,
java.lang.String home)
Create a configuration instance matching the specified container and type. |
java.lang.Class |
getConfigurationClass(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
|
boolean |
isConfigurationRegistered(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
|
void |
registerConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType,
java.lang.Class configurationClass)
Registers a configuration implementation. |
| Method Detail |
|---|
void registerConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType,
java.lang.Class configurationClass)
containerId - the container id attached to this configuration classcontainerType - the container type attached to this configuration classconfigurationType - the type to differentiate this configuration from others for the
specified containerconfigurationClass - the configuration implementation class to register
java.lang.Class getConfigurationClass(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
containerId - the container id attached to this configuration classcontainerType - the container type attached to this configuration classconfigurationType - the configuration's type
boolean isConfigurationRegistered(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
containerId - the container id attached to this configuration classcontainerType - the container type attached to this configuration classconfigurationType - the type to differentiate this configuration from others for the
specified container
org.codehaus.cargo.container.configuration.Configuration createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType)
containerId - the id of the container for which to create a configurationcontainerType - the type of the container for which to create a configurationconfigurationType - the type that differentiates the configuration we wish to create
from other configurations for this container
org.codehaus.cargo.container.configuration.Configuration createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType,
org.codehaus.cargo.container.configuration.ConfigurationType configurationType,
java.lang.String home)
containerId - the id of the container for which to create a configurationcontainerType - the type of the container for which to create a configurationconfigurationType - the type that differentiates the configuration we wish to create
from other configurations for this containerhome - the configuration home
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||