[jbpm-commits] JBoss JBPM SVN: r6520 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/processengine.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jul 20 08:05:33 EDT 2010
Author: rebody
Date: 2010-07-20 08:05:33 -0400 (Tue, 20 Jul 2010)
New Revision: 6520
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/processengine/ProcessEngineImpl.java
Log:
upgrade ProcessEngine version from 4.4-SNAPSHOT to 4.5.
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/processengine/ProcessEngineImpl.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/processengine/ProcessEngineImpl.java 2010-07-20 09:37:57 UTC (rev 6519)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/processengine/ProcessEngineImpl.java 2010-07-20 12:05:33 UTC (rev 6520)
@@ -54,23 +54,23 @@
/**
* an environment factory that also is the process-engine context.
- *
+ *
* <p>
* This environment factory will produce environments with 2 contexts: the
* process-engine context and the block context.
* </p>
- *
+ *
* <p>
* An process-engine context is build from two wire definitions: the
* process-engine wire definition and the environment wire definition.
* </p>
- *
+ *
* <p>
* The process-engine context itself is build from the process-engine
* wire definition. So all objects that are created in this context remain
* cached for the lifetime of this process-engine context object.
* </p>
- *
+ *
* <p>
* This process-engine context is also a environment factory. The produced
* environments contain 2 contexts: the process-engine context itself and a
@@ -79,24 +79,24 @@
* environment wire definition. Objects in the environment context will live for
* as long as the environment.
* </p>
- *
+ *
* @author Tom Baeyens
*/
public class ProcessEngineImpl implements Context, ProcessEngine, EnvironmentFactory, Serializable {
private static final long serialVersionUID = 1L;
private static final Log log = Log.getLog(ProcessEngineImpl.class.getName());
-
- public static final String JBPM_LIBRARY_VERSION = "4.4-SNAPSHOT";
+ public static final String JBPM_LIBRARY_VERSION = "4.5";
+
transient protected WireContext processEngineWireContext;
transient protected WireDefinition transactionWireDefinition;
-
+
transient protected ThreadLocal<List<UserProvidedEnvironmentObject>> userProvidedEnvironmentObjectsThreadLocal = new ThreadLocal<List<UserProvidedEnvironmentObject>>();
transient protected ThreadLocal<String> authenticatedUserIdThreadLocal = new ThreadLocal<String>();
-
+
transient protected CommandService userCommandService = null;
-
+
public ProcessEngineImpl() {
}
@@ -109,7 +109,7 @@
configuration.setProducedProcessEngine(this);
this.processEngineWireContext = configuration.getProcessEngineWireContext();
this.transactionWireDefinition = configuration.getTransactionWireDefinition();
-
+
if (log.isTraceEnabled()) {
log.trace("created ProcessEngine "+System.identityHashCode(this));
if ( (processEngineWireContext!=null)
@@ -248,7 +248,7 @@
public Object set(String key, Object value) {
return processEngineWireContext.set(key, value);
}
-
+
public void addProcessEngineWireDefinition(WireDefinition wireDefinition) {
processEngineWireContext.getWireDefinition().addWireDefinition(wireDefinition);
}
More information about the jbpm-commits
mailing list