|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBPELDeployer
The IBPELDeployer interface represents a BPEL Deployer, i.e. an entity which is responsible for deploying a given BPEL process into an engine, and also for undeploying it. This interface is intended to be implemented by deployers for concrete engine implementations. Please note that to be recognized by BPELUnit, new deployers must be registered in the concrete BPELUnit runner instance (for example, in the command line runner, the deployer must be added to the configuration.xml file, which resides in the BPELUnit configuration directory). For each deployed PUT, a new instance will be created. It is thus safe to store undeployment data in the deployer instance.
Method Summary | |
---|---|
void |
deploy(java.lang.String testPath,
net.bpelunit.framework.model.ProcessUnderTest processUnderTest)
Deploy the PUT. |
void |
setConfiguration(java.util.Map<java.lang.String,java.lang.String> options)
Adds configuration options for this deployment instance. |
void |
undeploy(java.lang.String testPath,
net.bpelunit.framework.model.ProcessUnderTest processUnderTest)
Undeploy the PUT. |
Method Detail |
---|
void deploy(java.lang.String testPath, net.bpelunit.framework.model.ProcessUnderTest processUnderTest) throws net.bpelunit.framework.exception.DeploymentException
DeploymentException
must be thrown.
testPath
- path in the file system to the test filesprocessUnderTest
- the PUT
net.bpelunit.framework.exception.DeploymentException
void undeploy(java.lang.String testPath, net.bpelunit.framework.model.ProcessUnderTest processUnderTest) throws net.bpelunit.framework.exception.DeploymentException
DeploymentException must
be thrown.
testPath
- path in the file system to the test filesprocessUnderTest
- the PUT
net.bpelunit.framework.exception.DeploymentException
void setConfiguration(java.util.Map<java.lang.String,java.lang.String> options)
options
- the options
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |