[
http://jira.jboss.com/jira/browse/JBPM-1210?page=all ]
Thomas Diesler moved PVM-44 to JBPM-1210:
-----------------------------------------
Project: JBoss jBPM (was: The Process Virtual Machine)
Key: JBPM-1210 (was: PVM-44)
Component/s: PVM
(was: pvm)
spring configuration support
----------------------------
Key: JBPM-1210
URL:
http://jira.jboss.com/jira/browse/JBPM-1210
Project: JBoss jBPM
Issue Type: Feature Request
Components: PVM
Reporter: Tom Baeyens
Assigned To: Mauricio Salatino
The first goal is to create an EnvironmentFactory implementation that is based on spring
configuration.
The class to complete is org.jbpm.pvm.internal.env.SpringEnvironmentFactory
The SpringEnvironmentFactory should relate to a spring ApplicationContext, I believe.
The first thing to do is create a test that shows how a spring configuration can be used
to create hibernate sessions.
Something like this:
static EnvironmentFactory environmentFactory =
SpringEnvironmentFactory.parseResource("org/jbpm/pvm/spring/springbeans.xml");
Environment environment = environmentFactory.openEnvironment();
try {
Session hibernateSession = environment.get(Session.class);
assertNotNull(hibernateSession);
} finally {
environment.close();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira