Class AbstractWebLogicRemoteContainer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.AbstractContainer
-
- org.codehaus.cargo.container.spi.AbstractRemoteContainer
-
- org.codehaus.cargo.container.weblogic.internal.AbstractWebLogicRemoteContainer
-
- All Implemented Interfaces:
Container
,RemoteContainer
,ScriptingCapableContainer
,WebLogicRemoteScriptingContainer
,Loggable
- Direct Known Subclasses:
WebLogic103xRemoteContainer
,WebLogic121xRemoteContainer
,WebLogic122xRemoteContainer
,WebLogic14xRemoteContainer
public abstract class AbstractWebLogicRemoteContainer extends AbstractRemoteContainer implements WebLogicRemoteScriptingContainer
Basic support for the WebLogic remote application server.
-
-
Constructor Summary
Constructors Constructor Description AbstractWebLogicRemoteContainer(RuntimeConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeScript(List<ScriptCommand> configurationScript)
Writes configuration script using WLST.void
executeScriptFiles(List<String> scriptFilePaths)
Executes scripts using WLST.ContainerCapability
getCapability()
String
getWeblogicHome()
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractRemoteContainer
getConfiguration, getState, getType, setConfiguration
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
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.Container
getId, getName, getState, getType
-
Methods inherited from interface org.codehaus.cargo.container.RemoteContainer
getConfiguration, setConfiguration
-
-
-
-
Constructor Detail
-
AbstractWebLogicRemoteContainer
public AbstractWebLogicRemoteContainer(RuntimeConfiguration configuration)
-
-
Method Detail
-
getCapability
public ContainerCapability getCapability()
- Specified by:
getCapability
in interfaceContainer
- Returns:
- the
ContainerCapability
of the container in term of ability to deploy such and such type ofDeployable
s (eg WAR, EAR, etc).
-
executeScript
public void executeScript(List<ScriptCommand> configurationScript)
Writes configuration script using WLST.- Specified by:
executeScript
in interfaceScriptingCapableContainer
- Parameters:
configurationScript
- Script containing WLST configuration to be executed.
-
executeScriptFiles
public void executeScriptFiles(List<String> scriptFilePaths)
Executes scripts using WLST.- Specified by:
executeScriptFiles
in interfaceScriptingCapableContainer
- Parameters:
scriptFilePaths
- List of file paths containing jython scripts.
-
getWeblogicHome
public String getWeblogicHome()
- Returns:
- WebLogic home directory.
-
-