org.ow2.bonita.deployment
Class Deployment

java.lang.Object
  extended by org.ow2.bonita.deployment.Deployment
All Implemented Interfaces:
java.io.Serializable

public class Deployment
extends java.lang.Object
implements java.io.Serializable

This class implements a deployment object. This object can be provided to one of the method of the ManagementAPI method to allow the deployment of a XPDL file and optionnally its depending java classes for hooks, performer assignments, mappers...

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Field Summary
protected  java.util.Set<byte[]> classes
          .class classes for hooks, mappers, performer assignments, multi-instantiation.
protected  byte[] xpdl
          XPDL definition
 
Constructor Summary
Deployment(byte[] xpdl, java.util.Set<byte[]> classes)
          Constructs a deployment with the XPDL file and the set of classes.
Deployment(org.xml.sax.InputSource xpdl, java.util.Set<byte[]> classes)
          Constructs a deployment with the XPDL file and the set of classes.
Deployment(java.net.URL xpdl, java.util.Set<byte[]> classes)
          Constructs a deployment with the XPDL file and the set of classes.
 
Method Summary
 java.util.Set<byte[]> getClasses()
          Returns the .class classes as bytes table.
 org.xml.sax.InputSource getXpdl()
          Returns the XPDL file as InputSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xpdl

protected byte[] xpdl
XPDL definition


classes

protected java.util.Set<byte[]> classes
.class classes for hooks, mappers, performer assignments, multi-instantiation.

Constructor Detail

Deployment

public Deployment(org.xml.sax.InputSource xpdl,
                  java.util.Set<byte[]> classes)
Constructs a deployment with the XPDL file and the set of classes.

Parameters:
xpdl - The XPDL file as InputSource.
classes - The set of .class classes.

Deployment

public Deployment(byte[] xpdl,
                  java.util.Set<byte[]> classes)
Constructs a deployment with the XPDL file and the set of classes.

Parameters:
xpdl - The XPDL file as byte table.
classes - The set of .class classes.

Deployment

public Deployment(java.net.URL xpdl,
                  java.util.Set<byte[]> classes)
Constructs a deployment with the XPDL file and the set of classes.

Parameters:
xpdl - The XPDL file as URL.
classes - The set of .class classes.
Method Detail

getXpdl

public org.xml.sax.InputSource getXpdl()
Returns the XPDL file as InputSource.

Returns:

getClasses

public java.util.Set<byte[]> getClasses()
Returns the .class classes as bytes table.

Returns:


Copyright © 2008 OW2 Consortium. All Rights Reserved.