uk.ac.ucl.sse.omii.bpel.abr.generation
Class BprGenerator
java.lang.Object
uk.ac.ucl.sse.omii.bpel.abr.generation.BprGenerator
public class BprGenerator
- extends java.lang.Object
Responsible for generating a BPR archive file containing all required files
required for deployment of a BPEL process onto a ActiveBPEL runtime.
- Author:
- Bruno Wassermann, written Sep 11, 2006
Constructor Summary |
BprGenerator(java.lang.String host,
int httpPort)
|
Method Summary |
java.io.File |
generateBpr(org.eclipse.wst.server.core.IModuleArtifact moduleArtifact)
Generates BPR given an IModuleArtifact . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BprGenerator
public BprGenerator(java.lang.String host,
int httpPort)
generateBpr
public java.io.File generateBpr(org.eclipse.wst.server.core.IModuleArtifact moduleArtifact)
throws java.lang.IllegalArgumentException
- Generates BPR given an
IModuleArtifact
.
- Parameters:
moduleArtifact
- IModuleArtifact
- Returns:
File
containing a handle to the deployment archive
for the corresponding BPEL process or null
, if
moduleArtifact or BPEL file is not valid
This method checks whether the IModuleArtifact
is
in fact a BPELModuleArtifact
that contains a
corresponding BPEL file. Without these requirements met, it is
not possible to generate a correct BPR archive and the method
will therefore return null
- Throws:
java.lang.IllegalArgumentException