Class WebLogic121xInstalledLocalContainer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ID
      Unique container id.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doStop​(org.codehaus.cargo.container.spi.jvm.JvmLauncher java)
      protected void executePostStartTasks()
      .
      void executeScript​(List<org.codehaus.cargo.container.configuration.script.ScriptCommand> configurationScript)
      Writes configuration script using WLST.
      void executeScriptFiles​(List<String> scriptFilePaths)
      Executes scripts using WLST.
      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.
      protected List<String> getBeaHomeFiles()
      String getId()
      String getName()
      protected void waitForCompletion​(boolean waitForStarting)
      • 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, waitForPortShutdown, waitForStarting
      • Methods inherited from class org.codehaus.cargo.util.log.LoggedObject

        getLogger
      • Methods inherited from interface org.codehaus.cargo.container.Container

        getCapability, getState, getType
      • Methods inherited from interface org.codehaus.cargo.container.LocalContainer

        getConfiguration, getFileHandler, setConfiguration, setFileHandler
      • Methods inherited from interface org.codehaus.cargo.util.log.Loggable

        getLogger, setLogger
      • Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer

        getOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.codehaus.cargo.container.Container
      • getId

        public String getId()
        Specified by:
        getId in interface org.codehaus.cargo.container.Container
      • 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.
        Specified by:
        getAutoDeployDirectory in interface WebLogicLocalContainer
        Returns:
        The auto-deploy directory
      • executeScript

        public void executeScript​(List<org.codehaus.cargo.container.configuration.script.ScriptCommand> configurationScript)
        Writes configuration script using WLST.
        Specified by:
        executeScript in interface org.codehaus.cargo.container.ScriptingCapableContainer
        Parameters:
        configurationScript - Script containing WLST configuration to be executed.
      • executeScriptFiles

        public void executeScriptFiles​(List<String> scriptFilePaths)
        Executes scripts using WLST.
        Specified by:
        executeScriptFiles in interface org.codehaus.cargo.container.ScriptingCapableContainer
        Parameters:
        scriptFilePaths - List of file paths containing jython scripts.
      • waitForCompletion

        protected void waitForCompletion​(boolean waitForStarting)
                                  throws InterruptedException
        Overrides:
        waitForCompletion in class org.codehaus.cargo.container.spi.AbstractLocalContainer
        Throws:
        InterruptedException