public class LocalEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
LocalEnvironment.
This factory uses Configuration to specify environment configuration.
Configuration uses following fields:
| Constructor and Description |
|---|
LocalEnvironmentFactory(org.apache.commons.configuration.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Environment> |
createEnvironments() |
void |
destroyEnvironments(java.util.Collection<Environment> envs)
Cleans up everything created by createEnvironments.
|
public LocalEnvironmentFactory(org.apache.commons.configuration.Configuration config)
public java.util.Collection<Environment> createEnvironments() throws java.io.IOException
createEnvironments in interface EnvironmentFactoryjava.io.IOExceptionpublic void destroyEnvironments(java.util.Collection<Environment> envs)
EnvironmentFactorydestroyEnvironments in interface EnvironmentFactoryenvs - - environments created by createEnvironments.