You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ms...@apache.org on 2007/11/08 20:05:37 UTC

svn commit: r593260 - /ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java

Author: mszefler
Date: Thu Nov  8 11:05:30 2007
New Revision: 593260

URL: http://svn.apache.org/viewvc?rev=593260&view=rev
Log:
experimental:external variables
* added apache license headers
* add missing files to svn
* refactoring of variable init
* more informative error messages
* integration test


Added:
    ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java   (with props)

Added: ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java
URL: http://svn.apache.org/viewvc/ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java?rev=593260&view=auto
==============================================================================
--- ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java (added)
+++ ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java Thu Nov  8 11:05:30 2007
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ode.bpel.o;
+
+import java.util.HashMap;
+
+/**
+ * Compiled representation of an external variable declaration.
+ * 
+ * @author Maciej Szefler <mszefler at gmail dot com>
+ *
+ */
+public class OExtVar extends OBase {
+    private static final long serialVersionUID = 1L;
+
+    /** 
+     * Unique identifier for the external variable. Will be referenced in the deployment descriptor.
+     */
+    public String externalVariableId;
+    
+    /** 
+     * The declaration of keys, i.e. this specifies how the values that are avaialble to the external
+     * engine for the purposes of locating the external contents of the variable.  
+     */
+    public final HashMap<String, OExpression> keyDeclaration = new HashMap<String, OExpression>();
+    
+    public OExtVar(OProcess owner) {
+        super(owner);
+    }
+
+}

Propchange: ode/branches/extvar/bpel-obj/src/main/java/org/apache/ode/bpel/o/OExtVar.java
------------------------------------------------------------------------------
    svn:eol-style = native