org.ow2.petals.cli.shell.jbi
Class ServiceAssembly

java.lang.Object
  extended by org.ow2.petals.cli.shell.jbi.Artifact
      extended by org.ow2.petals.cli.shell.jbi.ServiceAssembly

public class ServiceAssembly
extends Artifact

This class represents a remote JBI service assembly

Author:
sandre

Field Summary
static java.lang.String XPATH_JBI_SU_COMPONENTS
          XPath expression to access components dependencies
static java.lang.String XPATH_JBI_SU_NAMES
          XPath expression to access service units names
 
Fields inherited from class org.ow2.petals.cli.shell.jbi.Artifact
XPATH_JBI_DESCRIPTION, XPATH_JBI_NAME, XPATH_JBI_ROOT
 
Constructor Summary
ServiceAssembly(java.net.URL url, org.w3c.dom.Node jbiConfig)
           
 
Method Summary
 java.lang.String[] getDependencies()
          Get the name of components dependencies of this service assembly
 org.ow2.petals.ant.AbstractJBIAntTask[] getDeployTasksSequence()
          Get the sequence of configured JBI ant tasks to deploy this artifact
 java.lang.String[] getServiceUnits()
          Get the name of service units contained in this service assembly
 org.ow2.petals.ant.AbstractJBIAntTask[] getUndeployTasksSequence()
          Get the sequence of configured JBI ant tasks to undeploy this artifact
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.petals.cli.shell.jbi.Artifact
getDescription, getJbiXml, getName, getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XPATH_JBI_SU_NAMES

public static final java.lang.String XPATH_JBI_SU_NAMES
XPath expression to access service units names

See Also:
Constant Field Values

XPATH_JBI_SU_COMPONENTS

public static final java.lang.String XPATH_JBI_SU_COMPONENTS
XPath expression to access components dependencies

See Also:
Constant Field Values
Constructor Detail

ServiceAssembly

public ServiceAssembly(java.net.URL url,
                       org.w3c.dom.Node jbiConfig)
Method Detail

getServiceUnits

public java.lang.String[] getServiceUnits()
Get the name of service units contained in this service assembly

Returns:
an array of service unit names

getDependencies

public java.lang.String[] getDependencies()
Get the name of components dependencies of this service assembly

Returns:
an array of components names

toString

public java.lang.String toString()
Overrides:
toString in class Artifact

getDeployTasksSequence

public org.ow2.petals.ant.AbstractJBIAntTask[] getDeployTasksSequence()
Description copied from class: Artifact
Get the sequence of configured JBI ant tasks to deploy this artifact

Specified by:
getDeployTasksSequence in class Artifact
Returns:
an array of JBI ant tasks

getUndeployTasksSequence

public org.ow2.petals.ant.AbstractJBIAntTask[] getUndeployTasksSequence()
Description copied from class: Artifact
Get the sequence of configured JBI ant tasks to undeploy this artifact

Specified by:
getUndeployTasksSequence in class Artifact
Returns:
an array of JBI ant tasks


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.