You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2007/07/18 20:50:03 UTC
svn commit: r557360 - in
/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel:
engine/BpelProcess.java engine/BpelServerImpl.java
evtproc/ActivityStateDocumentBuilder.java
Author: vanto
Date: Wed Jul 18 11:50:02 2007
New Revision: 557360
URL: http://svn.apache.org/viewvc?view=rev&rev=557360
Log:
fixing the debut :/
Modified:
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/evtproc/ActivityStateDocumentBuilder.java
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java?view=diff&rev=557360&r1=557359&r2=557360
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java Wed Jul 18 11:50:02 2007
@@ -40,6 +40,7 @@
import org.apache.ode.bpel.explang.ConfigurationException;
import org.apache.ode.bpel.explang.EvaluationException;
import org.apache.ode.bpel.iapi.BpelEngineException;
+import org.apache.ode.bpel.iapi.BpelEventListener;
import org.apache.ode.bpel.iapi.Endpoint;
import org.apache.ode.bpel.iapi.EndpointReference;
import org.apache.ode.bpel.iapi.MessageExchange;
@@ -116,7 +117,7 @@
/** Latch-like thing to control hydration/dehydration. */
private HydrationLatch _hydrationLatch;
- public BpelProcess(ProcessConf conf, BpelEventListener debugger) {
+ public BpelProcess(ProcessConf conf) {
_pid = conf.getProcessId();
_pconf = conf;
_hydrationLatch = new HydrationLatch();
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java?view=diff&rev=557360&r1=557359&r2=557360
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java Wed Jul 18 11:50:02 2007
@@ -270,7 +270,7 @@
__log.debug("Registering process " + conf.getProcessId() + " with server.");
- BpelProcess process = new BpelProcess(conf, null);
+ BpelProcess process = new BpelProcess(conf);
_engine.registerProcess(process);
_registeredProcesses.add(process);
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/evtproc/ActivityStateDocumentBuilder.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/evtproc/ActivityStateDocumentBuilder.java?view=diff&rev=557360&r1=557359&r2=557360
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/evtproc/ActivityStateDocumentBuilder.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/evtproc/ActivityStateDocumentBuilder.java Wed Jul 18 11:50:02 2007
@@ -23,14 +23,18 @@
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
+import java.util.Properties;
-import org.apache.ode.bpel.engine.BpelEventListener;
import org.apache.ode.bpel.evt.ActivityEnabledEvent;
import org.apache.ode.bpel.evt.ActivityEvent;
import org.apache.ode.bpel.evt.ActivityExecEndEvent;
import org.apache.ode.bpel.evt.ActivityExecStartEvent;
import org.apache.ode.bpel.evt.BpelEvent;
-import org.apache.ode.bpel.pmapi.*;
+import org.apache.ode.bpel.iapi.BpelEventListener;
+import org.apache.ode.bpel.pmapi.ActivityInfoDocument;
+import org.apache.ode.bpel.pmapi.TActivityInfo;
+import org.apache.ode.bpel.pmapi.TActivityStatus;
+import org.apache.ode.bpel.pmapi.TScopeRef;
/**
* Class used to generate {@link org.apache.ode.bpel.pmapi.istate.InstanceDocument}
@@ -134,5 +138,13 @@
info.getScope().setName(event.getScopeName());
info.getScope().setSiid("" + event.getScopeId());
}
+
+ public void shutdown() {
+ // do nothing
+ }
+
+ public void startup(Properties configProperties) {
+ // do nothing
+ }
}