org.mule.tools.cargo.deployer
Class IONDeployer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.mule.tools.cargo.deployer.IONDeployer
- All Implemented Interfaces:
- org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable
public class IONDeployer
- extends org.codehaus.cargo.container.spi.deployer.AbstractDeployer
Deploy MuleApplicationDeployable to a existing Mule iON domain using REST API (http://www.mulesoft.org/documentation/display/ION/API).
|
Constructor Summary |
IONDeployer(org.codehaus.cargo.container.RemoteContainer container)
|
| Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
deploy, deploy, redeploy, redeploy, start, start, stop, 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 |
IONDeployer
public IONDeployer(org.codehaus.cargo.container.RemoteContainer container)
getType
public org.codehaus.cargo.container.deployer.DeployerType getType()
createBuilder
protected final com.sun.jersey.api.client.WebResource.Builder createBuilder(java.lang.String path)
getConfiguration
protected final IONConfiguration getConfiguration()
getIONApplication
protected final Application getIONApplication(java.lang.String domain)
isIONApplicationCreated
protected final boolean isIONApplicationCreated(java.lang.String domain)
updateIONApplication
protected final void updateIONApplication(java.lang.String domain,
Application application)
ensureIONApplicationExists
protected final void ensureIONApplicationExists(java.lang.String domain)
- Parameters:
domain -
- Throws:
org.codehaus.cargo.container.deployable.DeployableException - if iON application does not exist
deploy
public void deploy(org.codehaus.cargo.container.deployable.Deployable deployable)
- Specified by:
deploy in interface org.codehaus.cargo.container.deployer.Deployer- Overrides:
deploy in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
undeploy
public void undeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
- Specified by:
undeploy in interface org.codehaus.cargo.container.deployer.Deployer- Overrides:
undeploy in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
Copyright © 2011. All Rights Reserved.