org.ow2.jasmine.deployme.api
Interface IDeployMeService


public interface IDeployMeService

Manage deployment of topology

Author:
Jeremy Cazaux

Method Summary
 void deploy(String topologyXml, String machine, String domain, String server, String cluster)
          Deploy a configuration :
- Load the topology
- Apply the config of the servers(machine or domain/server/cluster)
 void deploy(URL topologyUrl, String machine, String domain, String server, String cluster)
          Deploy a configuration :
- Load the topology
- Apply the config of the servers(machine or domain/server/cluster)
 IDeployme getInstance()
           
 IServer getServer(String domainName, String serverName)
           
 

Method Detail

deploy

void deploy(URL topologyUrl,
            String machine,
            String domain,
            String server,
            String cluster)
            throws SAXException,
                   javax.xml.bind.JAXBException,
                   IOException
Deploy a configuration :
- Load the topology
- Apply the config of the servers(machine or domain/server/cluster)

Parameters:
topologyUrl - topology xml file to use url
machine - The machine to use. if set domain or server or cluster name must not be set
domain - The domain where found the server to use. If set, server or cluster has to be set, and machine must no be set
server - The server to use. If set, domain has to be set and cluster or machine must not be set
cluster - The cluster daemon to use. If set, domain has to be set and server or machine must not be set
Throws:
javax.xml.bind.JAXBException - JAXB exception.
SAXException - SAX exception.
IOException - If topologyUrl cannot be retrieved.

deploy

void deploy(String topologyXml,
            String machine,
            String domain,
            String server,
            String cluster)
            throws SAXException,
                   javax.xml.bind.JAXBException,
                   IOException
Deploy a configuration :
- Load the topology
- Apply the config of the servers(machine or domain/server/cluster)

Parameters:
topologyXml - topology xml string
machine - The machine to use. if set domain or server or cluster name must not be set
domain - The domain where found the server to use. If set, server or cluster has to be set, and machine must no be set
server - The server to use. If set, domain has to be set and cluster or machine must not be set
cluster - The cluster daemon to use. If set, domain has to be set and server or machine must not be set
Throws:
javax.xml.bind.JAXBException - JAXB exception.
SAXException - SAX exception.
IOException - If topologyUrl cannot be retrieved.

getInstance

IDeployme getInstance()
Returns:
the deployme instance

getServer

IServer getServer(String domainName,
                  String serverName)
Parameters:
domainName - The name of the domain
serverName - The name of the server
Returns:
the IServer


Copyright © 2012 OW2 Consortium. All Rights Reserved.