public abstract class AbstractWebLogicInstalledLocalContainer extends AbstractInstalledLocalContainer implements WebLogicLocalContainer
| Type | Property and Description |
|---|---|
boolean |
memArgsProvidedAsASystem
Scan the System properties provided by the user and determine if memory args are present.
|
| Constructor and Description |
|---|
AbstractWebLogicInstalledLocalContainer(LocalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addDefaultMemArgs(org.apache.tools.ant.taskdefs.Java java) |
void |
addDefaultMemArgsIfNotProvidedAsASystemProperty(org.apache.tools.ant.taskdefs.Java java)
Users can override memory defaults through setting them via a system property.
|
void |
doStart(org.apache.tools.ant.taskdefs.Java java) |
void |
doStop(org.apache.tools.ant.taskdefs.Java java) |
String |
getBeaHome()
The BEA_HOME is a root directory for various versions of WebLogic server.
|
protected List |
getBeaHomeDirs() |
protected List |
getBeaHomeFiles() |
ContainerCapability |
getCapability() |
String |
getDomainHome() |
String |
getWeblogicHome()
There are one or many WL_HOMEs per BEA_HOME.
|
protected List |
getWeblogicHomeDirs() |
protected List |
getWeblogicHomeFiles() |
void |
initBeaHome()
Check the WLS installation directory setting and if the beaHome attribute
is not set, guess it.
|
boolean |
memArgsProvidedAsASystemProperty()
Scan the System properties provided by the user and determine if memory args are present.
|
void |
setBeaHome(String beaHome)
Sets the Bea home directory.
|
protected void |
verify() |
protected void |
verify(String errorPrefix,
String errorSuffix,
List requiredDirs,
List requiredFiles)
run through a list of expected files and directories that indicate a
properly installed product.
|
protected void |
verifyBeaHome()
Verify that the Bea home directory structure is valid and throw a
ContainerException if not.
|
protected void |
verifyWeblogicHome()
Verify that the Weblogic home directory structure is valid and throw a
ContainerException if not.
|
addExtraClasspath, addSharedClasspath, addToolsJarToClasspath, getAntUtils, getExtraClasspath, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternalgetConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAutoDeployDirectorygetConfiguration, getFileHandler, setConfiguration, setFileHandlergetId, getName, getState, getTypegetOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stoppublic AbstractWebLogicInstalledLocalContainer(LocalConfiguration configuration)
public final void setBeaHome(String beaHome)
beaHome - The BEA home directorypublic final ContainerCapability getCapability()
getCapability in interface ContainerContainer.getCapability()protected final void verify()
verify in class AbstractInstalledLocalContainerAbstractLocalContainer.verify()protected List getBeaHomeFiles()
protected List getBeaHomeDirs()
protected List getWeblogicHomeFiles()
protected List getWeblogicHomeDirs()
protected void verifyWeblogicHome()
ContainerException - if anyprotected void verifyBeaHome()
ContainerException - if anyprotected void verify(String errorPrefix, String errorSuffix, List requiredDirs, List requiredFiles)
errorPrefix - -
Prefix to the ContainerException, if a file or directory
is missingerrorSuffix - -
Suffix o the aboverequiredDirs - -
Directories that are required to existrequiredFiles - -
Files that are required to existContainerException - -
if a file or directory isn't present as expectedpublic final void initBeaHome()
public void addDefaultMemArgsIfNotProvidedAsASystemProperty(org.apache.tools.ant.taskdefs.Java java)
java - - object to insert mem arguments if requiredpublic boolean memArgsProvidedAsASystemProperty()
protected abstract void addDefaultMemArgs(org.apache.tools.ant.taskdefs.Java java)
java - - runtime configuration to insert default memory args intopublic final void doStart(org.apache.tools.ant.taskdefs.Java java)
throws Exception
doStart in class AbstractInstalledLocalContainerExceptionAbstractInstalledLocalContainer.doStart(Java)public final void doStop(org.apache.tools.ant.taskdefs.Java java)
throws Exception
doStop in class AbstractInstalledLocalContainerExceptionAbstractInstalledLocalContainer.doStop(Java)public String getBeaHome()
WebLogicLocalContainergetBeaHome in interface WebLogicLocalContainerweblogic.internal.WebLogicLocalContainerpublic String getDomainHome()
weblogic.internal.WebLogicLocalContainerpublic String getWeblogicHome()
WebLogicLocalContainergetWeblogicHome in interface WebLogicLocalContainerweblogic.internal.WebLogicLocalContainerCopyright © 2004-2013 Codehaus. All Rights Reserved.