public abstract class BPELTestAbstract
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BPELTestAbstract.Deployment
Represents a test deployement.
|
protected static class |
BPELTestAbstract.Failure |
static class |
BPELTestAbstract.Invocation
Represents an test invocation of the BPEL engine.
|
Modifier and Type | Field and Description |
---|---|
protected BpelDAOConnectionFactory |
_cf |
protected Database |
_database |
static javax.sql.DataSource |
_dataSource |
protected java.util.List<BPELTestAbstract.Deployment> |
_deployments
The things we'd like to deploy.
|
protected java.util.List<BPELTestAbstract.Failure> |
_failures
Failures that have been detected.
|
protected java.util.List<BPELTestAbstract.Invocation> |
_invocations
The things we'd like to invoke.
|
protected BpelServerImpl |
_server |
static javax.transaction.TransactionManager |
_txManager |
protected javax.persistence.EntityManager |
em |
protected javax.persistence.EntityManagerFactory |
emf |
protected java.util.concurrent.ExecutorService |
executorService |
protected MessageExchangeContextImpl |
mexContext |
protected SimpleScheduler |
scheduler |
protected ProcessStore |
store |
static long |
WAIT_BEFORE_INVOKE_TIMEOUT |
Constructor and Description |
---|
BPELTestAbstract() |
Modifier and Type | Method and Description |
---|---|
protected BPELTestAbstract.Deployment |
addDeployment(java.io.File deployDir) |
protected BPELTestAbstract.Deployment |
addDeployment(java.lang.String deployDir) |
protected BPELTestAbstract.Invocation |
addInvoke(java.lang.String id,
javax.xml.namespace.QName target,
java.lang.String operation,
java.lang.String request,
java.lang.String responsePattern) |
protected BPELTestAbstract.Invocation |
addInvoke(java.lang.String id,
javax.xml.namespace.QName target,
java.lang.String operation,
java.lang.String request,
java.lang.String responsePattern,
BPELTestAbstract.Invocation synchronizeWith) |
protected void |
checkFailure() |
protected javax.sql.DataSource |
createDataSource(boolean shutdown) |
protected javax.transaction.TransactionManager |
createTransactionManager() |
protected BPELTestAbstract.Deployment |
deploy(java.lang.String location) |
protected void |
doDeployment(BPELTestAbstract.Deployment d)
Do all the registered deployments.
|
protected void |
doDeployments() |
protected void |
doInvokes() |
protected void |
doUndeployments() |
protected java.util.Properties |
getConfigProperties()
Override this to provide configuration properties for Ode extensions
like BpelEventListeners.
|
protected long |
getWaitBeforeInvokeTimeout() |
protected void |
go() |
protected void |
go(java.io.File deployDir) |
protected void |
go(java.lang.String deployDir) |
protected boolean |
isFailed() |
protected java.io.File |
makeDeployDir(java.lang.String deployDir) |
protected void |
negative(java.lang.String deployDir) |
void |
setUp() |
protected void |
setup(java.io.File deployDir) |
void |
tearDown() |
protected void |
undeploy(BPELTestAbstract.Deployment d) |
public static final long WAIT_BEFORE_INVOKE_TIMEOUT
protected BpelServerImpl _server
public static javax.transaction.TransactionManager _txManager
public static javax.sql.DataSource _dataSource
protected Database _database
protected ProcessStore store
protected MessageExchangeContextImpl mexContext
protected javax.persistence.EntityManager em
protected javax.persistence.EntityManagerFactory emf
protected java.util.concurrent.ExecutorService executorService
protected SimpleScheduler scheduler
protected BpelDAOConnectionFactory _cf
protected java.util.List<BPELTestAbstract.Failure> _failures
protected java.util.List<BPELTestAbstract.Deployment> _deployments
protected java.util.List<BPELTestAbstract.Invocation> _invocations
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown() throws java.lang.Exception
java.lang.Exception
protected javax.transaction.TransactionManager createTransactionManager() throws java.lang.Exception
java.lang.Exception
protected javax.sql.DataSource createDataSource(boolean shutdown) throws java.lang.Exception
java.lang.Exception
protected void negative(java.lang.String deployDir) throws java.lang.Throwable
java.lang.Throwable
protected void go(java.lang.String deployDir) throws java.lang.Exception
java.lang.Exception
protected BPELTestAbstract.Deployment addDeployment(java.lang.String deployDir)
protected BPELTestAbstract.Deployment addDeployment(java.io.File deployDir)
protected void go(java.io.File deployDir) throws java.lang.Exception
java.lang.Exception
protected void setup(java.io.File deployDir) throws java.lang.Exception
java.lang.Exception
protected BPELTestAbstract.Invocation addInvoke(java.lang.String id, javax.xml.namespace.QName target, java.lang.String operation, java.lang.String request, java.lang.String responsePattern) throws java.lang.Exception
java.lang.Exception
protected BPELTestAbstract.Invocation addInvoke(java.lang.String id, javax.xml.namespace.QName target, java.lang.String operation, java.lang.String request, java.lang.String responsePattern, BPELTestAbstract.Invocation synchronizeWith) throws java.lang.Exception
java.lang.Exception
protected void go() throws java.lang.Exception
java.lang.Exception
protected void checkFailure()
protected BPELTestAbstract.Deployment deploy(java.lang.String location)
protected void doDeployments()
protected void doDeployment(BPELTestAbstract.Deployment d)
d
- protected void doUndeployments()
protected void undeploy(BPELTestAbstract.Deployment d)
protected void doInvokes() throws java.lang.Exception
java.lang.Exception
protected long getWaitBeforeInvokeTimeout()
protected boolean isFailed()
protected java.io.File makeDeployDir(java.lang.String deployDir)
protected java.util.Properties getConfigProperties()