Class WSDDDocument

java.lang.Object
org.apache.axis.deployment.wsdd.WSDDConstants
org.apache.axis.deployment.wsdd.WSDDDocument

public class WSDDDocument extends WSDDConstants
represents a WSDD Document (this is the top level object in this object model) Only one of deployment and undeployment should be valid.
  • Field Details

    • log

      protected static org.apache.commons.logging.Log log
  • Constructor Details

    • WSDDDocument

      public WSDDDocument()
      empty constructor
    • WSDDDocument

      public WSDDDocument(Document document) throws WSDDException
      create and bind to a document
      Parameters:
      document - (Document) XXX
      Throws:
      WSDDException
    • WSDDDocument

      public WSDDDocument(Element e) throws WSDDException
      bind to a sub-element in a document.
      Parameters:
      e - (Element) XXX
      Throws:
      WSDDException
  • Method Details

    • getDeployment

      public WSDDDeployment getDeployment()
      Get the deployment. If there is no deployment, create an empty one
      Returns:
      the deployment document
    • getDOMDocument

      public Document getDOMDocument() throws ConfigurationException
      get the deployment as a DOM. Requires that the deployment member variable is not null.
      Returns:
      Throws:
      ConfigurationException
    • writeToContext

      public void writeToContext(SerializationContext context) throws IOException
      write the deployment to the supplied serialization context.
      Parameters:
      context -
      Throws:
      IOException
    • setDocument

      public void setDocument(Document document) throws WSDDException
      Bind to a new document, setting the undeployment nodes if it is an undeployment, the deployment tree if it is anything else.
      Parameters:
      document - XXX
      Throws:
      WSDDException
    • deploy

      public void deploy(WSDDDeployment registry) throws ConfigurationException
      do a deploy and/or undeploy, depending on what is in the document. If both trees are set, then undeploy follows deploy.
      Parameters:
      registry -
      Throws:
      ConfigurationException