|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.deployme.DeployMeService
public class DeployMeService
Manage deployment of topology
| Field Summary | |
|---|---|
protected static org.ow2.util.log.Log |
logger
The logger |
protected Map<String,Node> |
namespaces
Namespaces of the XML document |
protected Object |
topology
The loaded topology |
static Pattern |
XMLNS_PATTERN
XMLNS pattern |
| Constructor Summary | |
|---|---|
DeployMeService()
Default constructor |
|
| Method Summary | |
|---|---|
void |
bindDeploymeExtension(IDeploymeExtension deploymeExtension)
|
void |
bindDeploymeModule(IDeploymeModule deploymeModule)
|
void |
deploy(String topologyXml,
String machine,
String domain,
String server,
String cluster)
|
void |
deploy(URL topologyUrl,
String machine,
String domain,
String server,
String cluster)
|
IDeployme |
getDeployme()
|
IDeployme |
getInstance()
|
IServer |
getServer(String domainName,
String serverName)
|
Object |
getTopology()
Deprecated. |
void |
initDeployme()
Initialize IDeployme component |
void |
loadTopology(String topology)
Load the topology from the xml string topology using the schema from schemaUrl. |
void |
loadTopology(URL urlTopology)
Load the topology from the url urlTopology using the schema from schemaUrl. |
void |
unbindDeploymeExtension(IDeploymeExtension deploymeExtension)
|
void |
unbindDeploymeModule(IDeploymeModule deploymeModule)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Object topology
protected Map<String,Node> namespaces
protected static org.ow2.util.log.Log logger
public static final Pattern XMLNS_PATTERN
| Constructor Detail |
|---|
public DeployMeService()
| Method Detail |
|---|
@Deprecated public Object getTopology()
public void deploy(URL topologyUrl,
String machine,
String domain,
String server,
String cluster)
throws SAXException,
javax.xml.bind.JAXBException,
IOException
deploy in interface IDeployMeServiceSAXException
javax.xml.bind.JAXBException
IOException
public void deploy(String topologyXml,
String machine,
String domain,
String server,
String cluster)
throws IOException,
SAXException,
javax.xml.bind.JAXBException
deploy in interface IDeployMeServiceIOException
SAXException
javax.xml.bind.JAXBExceptionpublic void initDeployme()
IDeployme component
public IDeployme getDeployme()
IDeployme
public void loadTopology(URL urlTopology)
throws SAXException,
javax.xml.bind.JAXBException,
IOException
urlTopology - Url of the topology on xml format
javax.xml.bind.JAXBException - JAXB exception.
SAXException - SAX exception.
IOException - If urlTopology cannot be retrieved.
public void loadTopology(String topology)
throws SAXException,
javax.xml.bind.JAXBException,
IOException
topology - Url of the topology on xml format
javax.xml.bind.JAXBException - JAXB exception.
SAXException - SAX exception.
IOException - If urlTopology cannot be retrieved.public void bindDeploymeExtension(IDeploymeExtension deploymeExtension)
deploymeExtension - The IDeploymeExtension to addpublic void unbindDeploymeExtension(IDeploymeExtension deploymeExtension)
deploymeExtension - The IDeploymeExtension to removepublic void bindDeploymeModule(IDeploymeModule deploymeModule)
deploymeModule - The IDeploymeModule to addpublic void unbindDeploymeModule(IDeploymeModule deploymeModule)
deploymeModule - The IDeploymeModule to removepublic IDeployme getInstance()
getInstance in interface IDeployMeService
public IServer getServer(String domainName,
String serverName)
getServer in interface IDeployMeService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||