org.codehaus.cargo.container.weblogic
Class WebLogicExistingLocalConfiguration
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.WebLogicExistingLocalConfiguration
- All Implemented Interfaces:
- Configuration, ExistingLocalConfiguration, LocalConfiguration, ContainerConfiguration, WebLogicConfiguration, Loggable
- Direct Known Subclasses:
- WebLogic9xExistingLocalConfiguration
public class WebLogicExistingLocalConfiguration
- extends AbstractExistingLocalConfiguration
- implements WebLogicConfiguration
WebLogic existing configuration implementation. The configuration home must point to a valid
WebLogic domain directory.
- Version:
- $Id: WebLogicExistingLocalConfiguration.java 1848 2008-12-11 14:52:22Z adriancole $
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration |
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, configure, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler, verify |
WebLogicExistingLocalConfiguration
public WebLogicExistingLocalConfiguration(String dir)
-
- See Also:
AbstractExistingLocalConfiguration.AbstractExistingLocalConfiguration(String)
doConfigure
protected void doConfigure(LocalContainer container)
throws Exception
- Implementation of
LocalConfiguration.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 class AbstractLocalConfiguration
- Parameters:
container
- the container to configure
- Throws:
Exception
- if any error is raised during the configuration- See Also:
AbstractLocalConfiguration.configure(LocalContainer)
getCapability
public ConfigurationCapability getCapability()
-
- Specified by:
getCapability
in interface Configuration
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it
supports, etc - See Also:
Configuration.getCapability()
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
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 interface WebLogicConfiguration
- Returns:
- The DOMAIN_HOME, or instance-specific installation of WebLogic
Copyright © 2004-2012 Codehaus. All Rights Reserved.