bexee.admin
Class Manager

java.lang.Object
  extended bybexee.admin.Manager

public class Manager
extends java.lang.Object

The Manager is used in bexee for deployment of BPEL business processes and the related WSLD descriptions.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:08 $
Author:
Patric Fornasier, Pawel Kowalski

Constructor Summary
Manager()
           
 
Method Summary
protected  BPELProcess createBPELProcess(java.lang.String bpel)
          Create a new BPELProcess given a bpel xml document.
 java.lang.String deploy(java.lang.String[] input)
          Deploys a BPEL process to the bexee engine and registers it in Axis as a web service.
 java.lang.String undeploy(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manager

public Manager()
Method Detail

deploy

public java.lang.String deploy(java.lang.String[] input)
                        throws DeploymentException
Deploys a BPEL process to the bexee engine and registers it in Axis as a web service. This method performs the following operations in the given order:

  1. Checks the WSDL and BPEL namespaces
  2. Create a new BPELProcess with a BPELProcessFactory
  3. Deploys a new web service to Axis under the name defined in the BPEL document
  4. Returns a SOAPBodyElement of the form <manager>result text</manager>

Parameters:
input - elems[0] must be an Element representing a BPEL document , while elems[1] must be an Element represent a BPEL document. elems[1..n] can be further additional WSDL documents.
Returns:
an Element[], whose first element contains a message that the service was deployed.
Throws:
DeploymentException

undeploy

public java.lang.String undeploy(java.lang.String name)
                          throws DeploymentException
Throws:
DeploymentException

createBPELProcess

protected BPELProcess createBPELProcess(java.lang.String bpel)
                                 throws BPELDocumentException
Create a new BPELProcess given a bpel xml document.

Parameters:
bpel - the bpel document tree
Returns:
a BPELProcess
Throws:
BPELDocumentException


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.