Class AbstractWebLogicWlstStandaloneLocalConfiguration
- 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.AbstractStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.weblogic.internal.AbstractWebLogicWlstStandaloneLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,LocalConfiguration
,StandaloneLocalConfiguration
,ContainerConfiguration
,WebLogicConfiguration
,WebLogicWlstConfiguration
,Loggable
- Direct Known Subclasses:
WebLogic121xStandaloneLocalConfiguration
public abstract class AbstractWebLogicWlstStandaloneLocalConfiguration extends AbstractStandaloneLocalConfiguration implements WebLogicWlstConfiguration
Contains common WebLogic configuration functionality for WLST.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description AbstractWebLogicWlstStandaloneLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addMissingResources()
Used for adding resources which aren't defined in Cargo properties, but needs to be created in order to make all resources work.WebLogicWlstConfigurationFactory
getConfigurationFactory()
String
getDomainHome()
The DOMAIN_HOME holds the configuration and runtime files of a WebLogic domain.protected void
sortResources()
Sort resource list because some resources needs to have another resources created first.-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
addXmlReplacement, addXmlReplacement, addXmlReplacement, addXmlReplacement, configureFiles, getType, getXmlReplacements, performXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verify
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, configure, doConfigure, flagOffsetApplied, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getHome, getPropertyValue, getReplacements, getResources, getResourceUtils, getUsers, isOffsetApplied, isOffsetApplied, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLogger
-
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, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration
getCapability, 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
-
AbstractWebLogicWlstStandaloneLocalConfiguration
public AbstractWebLogicWlstStandaloneLocalConfiguration(String dir)
-
-
Method Detail
-
addMissingResources
protected void addMissingResources()
Used for adding resources which aren't defined in Cargo properties, but needs to be created in order to make all resources work.
-
sortResources
protected void sortResources()
Sort resource list because some resources needs to have another resources created first.
-
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
-
getConfigurationFactory
public WebLogicWlstConfigurationFactory getConfigurationFactory()
- Specified by:
getConfigurationFactory
in interfaceWebLogicWlstConfiguration
- Returns:
- Configuration factory for WebLogic returning WLST scripts.
-
-