|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
org.codehaus.cargo.container.weblogic.WebLogic8xConfigXmlInstalledLocalDeployer
public class WebLogic8xConfigXmlInstalledLocalDeployer
Static deployer that manages deployment configuration by manipulating the WebLogic config.xml file.
Constructor Summary | |
---|---|
WebLogic8xConfigXmlInstalledLocalDeployer(LocalContainer container)
|
Method Summary | |
---|---|
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)
Deploy a Deployable to the running container and make it available for requests. |
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)
Undeploy a Deployable from the running container. |
void |
writeConfigXml(org.dom4j.Document configXml)
write the domain's config.xml to disk. |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer |
---|
getType |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer |
---|
getContainer, getFileHandler, setFileHandler |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
---|
deploy, deploy, redeploy, start, stop, undeploy |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
---|
getLogger, setLogger |
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.util.log.Loggable |
---|
getLogger, setLogger |
Constructor Detail |
---|
public WebLogic8xConfigXmlInstalledLocalDeployer(LocalContainer container)
container
- container to configureMethod Detail |
---|
public org.dom4j.Document readConfigXml()
public void writeConfigXml(org.dom4j.Document configXml)
configXml
- document to write to diskprotected String getDomainHome()
public void deploy(Deployable deployable)
Deployable
to the running container and make it available for requests. deploys files by adding their configuration to the config.xml file of the
WebLogic server.
deploy
in interface Deployer
deploy
in class AbstractDeployer
deployable
- the Deployable
to deployAbstractDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)
public void undeploy(Deployable deployable)
Deployable
from the running container. The service becomes unavailable
for requests. undeploys files by removing their configuration to the config.xml file of the
WebLogic server.
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
deployable
- the Deployable
to undeployAbstractDeployer.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |