Class WebLogic8xExistingLocalConfiguration
- 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.weblogic.WebLogic8xExistingLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,ExistingLocalConfiguration
,LocalConfiguration
,ContainerConfiguration
,WebLogicConfiguration
,Loggable
- Direct Known Subclasses:
WebLogic9x10x12x14xExistingLocalConfiguration
public class WebLogic8xExistingLocalConfiguration extends AbstractExistingLocalConfiguration implements WebLogicConfiguration
WebLogic 8.x existing configuration implementation. The configuration home must point to a valid WebLogic domain directory.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description WebLogic8xExistingLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doConfigure(LocalContainer container)
Implementation ofLocalConfiguration.configure(LocalContainer)
that all local configuration using this class must implement.ConfigurationCapability
getCapability()
String
getDomainHome()
The DOMAIN_HOME holds the configuration and runtime files of a WebLogic domain.protected void
setupDeployables(WebLogicLocalContainer container)
Deploy the Deployables to the weblogic configuration.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, 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, getType, 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
-
WebLogic8xExistingLocalConfiguration
public WebLogic8xExistingLocalConfiguration(String dir)
-
-
Method Detail
-
doConfigure
protected void doConfigure(LocalContainer container) throws Exception
Implementation ofLocalConfiguration.configure(LocalContainer)
that all local configuration using this class must implement. This provides the ability to perform generic actions before and after the container-specific implementation. Another way would be to use AOP...- Specified by:
doConfigure
in classAbstractLocalConfiguration
- Parameters:
container
- the container to configure- Throws:
Exception
- if any error is raised during the configuration
-
getCapability
public ConfigurationCapability getCapability()
- Specified by:
getCapability
in interfaceConfiguration
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it supports, etc
-
setupDeployables
protected void setupDeployables(WebLogicLocalContainer container) throws IOException
Deploy the Deployables to the weblogic configuration.- Parameters:
container
- the container to configure- Throws:
IOException
- if the cargo ping deployment fails
-
getDomainHome
public String getDomainHome()
The DOMAIN_HOME holds the configuration and runtime files of a WebLogic domain. One or more server processes execute from this directory and must have permissions to write to it.- Specified by:
getDomainHome
in interfaceWebLogicConfiguration
- Returns:
- The DOMAIN_HOME, or instance-specific installation of WebLogic
-
-