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, stopInternal
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAutoDeployDirectory
getConfiguration, getFileHandler, setConfiguration, setFileHandler
getId, getName, getState, getType
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop
public AbstractWebLogicInstalledLocalContainer(LocalConfiguration configuration)
public final void setBeaHome(String beaHome)
beaHome
- The BEA home directorypublic final ContainerCapability getCapability()
getCapability
in interface Container
Container.getCapability()
protected final void verify()
verify
in class AbstractInstalledLocalContainer
AbstractLocalContainer.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 AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStart(Java)
public final void doStop(org.apache.tools.ant.taskdefs.Java java) throws Exception
doStop
in class AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStop(Java)
public String getBeaHome()
WebLogicLocalContainer
getBeaHome
in interface WebLogicLocalContainer
weblogic.internal.WebLogicLocalContainer
public String getDomainHome()
weblogic.internal.WebLogicLocalContainer
public String getWeblogicHome()
WebLogicLocalContainer
getWeblogicHome
in interface WebLogicLocalContainer
weblogic.internal.WebLogicLocalContainer
Copyright © 2004-2013 Codehaus. All Rights Reserved.