Class WebLogic10xInstalledLocalContainer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.AbstractContainer
-
- org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- org.codehaus.cargo.container.weblogic.internal.AbstractWebLogicInstalledLocalContainer
-
- org.codehaus.cargo.container.weblogic.WebLogic10xInstalledLocalContainer
-
- All Implemented Interfaces:
Container
,InstalledLocalContainer
,RunnableContainer
,SpawnedContainer
,LocalContainer
,WebLogicLocalContainer
,Loggable
public class WebLogic10xInstalledLocalContainer extends AbstractWebLogicInstalledLocalContainer
Special container support for the Bea WebLogic 10.x application server.
-
-
Constructor Summary
Constructors Constructor Description WebLogic10xInstalledLocalContainer(LocalConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAutoDeployDirectory()
When valid deployment files are written to auto-deploy directory, WebLogic will deploy and start them automatically.protected List<String>
getBeaHomeDirs()
Also includes checking of the modules directory, which is unique to WebLogic 10.String
getId()
String
getName()
-
Methods inherited from class org.codehaus.cargo.container.weblogic.internal.AbstractWebLogicInstalledLocalContainer
addWeblogicAdminArguments, doStart, doStop, executePostStartTasks, getBeaHome, getBeaHomeFiles, getCapability, getVersion, getWeblogicHome, getWeblogicHomeDirs, getWeblogicHomeFiles, initBeaHome, setBeaHome, verify, verify, verifyBeaHome, verifyWeblogicHome
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
addExtraClasspath, addExtraClasspath, addMemoryArguments, addRuntimeArgs, addSharedClasspath, addToolsJarToClasspath, createJvmLauncher, forceStopInternal, getExtraClasspath, getHome, getHttpUtils, getJavaHome, getJvmLauncherFactory, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmLauncherFactory, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternal
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, restart, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion, waitForPortShutdown, waitForStarting
-
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.LocalContainer
getConfiguration, getFileHandler, setConfiguration, setFileHandler
-
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
-
-
-
-
Field Detail
-
ID
public static final String ID
Unique container id.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebLogic10xInstalledLocalContainer
public WebLogic10xInstalledLocalContainer(LocalConfiguration configuration)
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
-
getId
public String getId()
- Returns:
- the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
-
getAutoDeployDirectory
public String getAutoDeployDirectory()
When valid deployment files are written to auto-deploy directory, WebLogic will deploy and start them automatically. This mechanism only works when ProductionMode is disabled, on single-server domains.- Returns:
- The auto-deploy directory
-
getBeaHomeDirs
protected List<String> getBeaHomeDirs()
Also includes checking of the modules directory, which is unique to WebLogic 10.- Overrides:
getBeaHomeDirs
in classAbstractWebLogicInstalledLocalContainer
- Returns:
- a list of directories that indicate a properly installed BEA_HOME
-
-