public class WebLogic8xConfigXmlInstalledLocalDeployer extends AbstractInstalledLocalDeployer
Constructor and Description |
---|
WebLogic8xConfigXmlInstalledLocalDeployer(LocalContainer container) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEarToDomain(EAR ear,
org.dom4j.Element domain)
Insert the corresponding ear element into the domain of the WebLogic server.
|
protected void |
addWarToDomain(WAR war,
org.dom4j.Element domain)
Insert the corresponding web app element into the domain of the WebLogic server.
|
void |
deploy(Deployable deployable)
deploys files by adding their configuration to the config.xml file of the
WebLogic server.
|
protected String |
getDomainHome()
get the DOMAIN_HOME of the server.
|
protected String |
getServerName()
return the running server's name.
|
org.dom4j.Document |
readConfigXml()
read the domain's config.xml file into a Document.
|
void |
undeploy(Deployable deployable)
undeploys files by removing their configuration to the config.xml file of the
WebLogic server.
|
void |
writeConfigXml(org.dom4j.Document configXml)
write the domain's config.xml to disk.
|
getType
getContainer, getFileHandler, setFileHandler
deploy, deploy, redeploy, start, stop, undeploy
public WebLogic8xConfigXmlInstalledLocalDeployer(LocalContainer container)
container
- container to configurepublic org.dom4j.Document readConfigXml()
public void writeConfigXml(org.dom4j.Document configXml)
configXml
- document to write to diskprotected String getDomainHome()
public void deploy(Deployable deployable)
deploy
in interface Deployer
deploy
in class AbstractDeployer
AbstractDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)
public void undeploy(Deployable deployable)
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
AbstractDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)
protected void addWarToDomain(WAR war, org.dom4j.Element domain)
war
- - web application component to configuredomain
- - Domain element of the WebLogic serverprotected void addEarToDomain(EAR ear, org.dom4j.Element domain)
ear
- - ear to configuredomain
- - Domain element of the WebLogic serverprotected String getServerName()
Copyright © 2004-2013 Codehaus. All Rights Reserved.