Class AbstractJonasExistingLocalConfiguration
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
-
- org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
-
- org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
-
- org.codehaus.cargo.container.jonas.internal.AbstractJonasExistingLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,ExistingLocalConfiguration
,LocalConfiguration
,ContainerConfiguration
,Loggable
- Direct Known Subclasses:
Jonas4xExistingLocalConfiguration
,Jonas5xExistingLocalConfiguration
public abstract class AbstractJonasExistingLocalConfiguration extends AbstractExistingLocalConfiguration
JOnAS existingConfiguration
implementation.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description AbstractJonasExistingLocalConfiguration(String dir, String version)
Creates the configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDirExists(String dir)
Check if the directory exists.ConfigurationCapability
getCapability()
String
toString()
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
getType
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, configure, configureFiles, doConfigure, flagOffsetApplied, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getHome, getPropertyValue, getReplacements, getResources, getResourceUtils, getUsers, isOffsetApplied, isOffsetApplied, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLogger, verify
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
getProperties, setProperty
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration
getProperties, getPropertyValue, setProperty
-
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addDataSource, addDeployable, addResource, addUser, applyPortOffset, configure, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
-
-
-
-
Constructor Detail
-
AbstractJonasExistingLocalConfiguration
public AbstractJonasExistingLocalConfiguration(String dir, String version)
Creates the configuration.- Parameters:
dir
- JONAS_ROOT directory.version
- JOnAS container version.- See Also:
AbstractExistingLocalConfiguration(String)
-
-
Method Detail
-
getCapability
public ConfigurationCapability getCapability()
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it supports, etc
-
checkDirExists
protected void checkDirExists(String dir)
Check if the directory exists.- Parameters:
dir
- the directory name
-
-