Anonymous avatar Anonymous committed a2a76db

Initial import from SourceForge

Comments (0)

Files changed (2)

src/java/com/opensymphony/workflow/RegisterRemote.java

+/*
+ * Copyright (c) 2002-2003 by OpenSymphony
+ * All rights reserved.
+ */
+package com.opensymphony.workflow;
+
+import com.opensymphony.workflow.spi.WorkflowEntry;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+import java.util.Map;
+
+
+/**
+ * A remote register interface.
+ * This interface is used when the register type is remote-ejb. The stateless session
+ * bean would then implement this interface in order for a register to be successfully registered.
+ *
+ * @author <a href="mailto:hani@formicary.net">Hani Suleiman</a>
+ * @version $Revision: 1.1.1.1 $
+ */
+public interface RegisterRemote extends Remote {
+    //~ Methods ////////////////////////////////////////////////////////////////
+
+    /**
+     * Register a variable within a particular workflow
+     *
+     * @param context The current workflow context
+     * @param entry The workflow entry. Note that this might be null, for example in a pre function
+     * before the workflow has been initialised
+     * @param args Map of arguments as set in the workflow descriptor
+     * @return An object which is now exposed as a register to the rest of the workflow
+     * @throws RemoteException
+     */
+    public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws RemoteException;
+}

src/java/com/opensymphony/workflow/util/WorkflowListener.java

+/*
+ * Copyright (c) 2002-2003 by OpenSymphony
+ * All rights reserved.
+ */
+package com.opensymphony.workflow.util;
+
+import com.opensymphony.workflow.WorkflowException;
+import com.opensymphony.workflow.spi.WorkflowEntry;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+
+/*
+ * @author Hani Suleiman
+ * @version $Revision: 1.1.1.1 $
+ * Date: Apr 6, 2002
+ * Time: 11:48:14 PM
+ */
+public interface WorkflowListener extends Remote {
+    //~ Methods ////////////////////////////////////////////////////////////////
+
+    public void stateChanged(WorkflowEntry entry) throws RemoteException, WorkflowException;
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.