[savara-commits] savara SVN: r579 - in branches/experimental/2.0.x/bundles: org.savara.activity and 12 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Jan 14 13:19:29 EST 2011
Author: objectiser
Date: 2011-01-14 13:19:28 -0500 (Fri, 14 Jan 2011)
New Revision: 579
Added:
branches/experimental/2.0.x/bundles/org.savara.activity/
branches/experimental/2.0.x/bundles/org.savara.activity/.classpath
branches/experimental/2.0.x/bundles/org.savara.activity/.project
branches/experimental/2.0.x/bundles/org.savara.activity/.settings/
branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.jdt.core.prefs
branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.pde.core.prefs
branches/experimental/2.0.x/bundles/org.savara.activity/Copyright.txt
branches/experimental/2.0.x/bundles/org.savara.activity/META-INF/
branches/experimental/2.0.x/bundles/org.savara.activity/META-INF/MANIFEST.MF
branches/experimental/2.0.x/bundles/org.savara.activity/build.properties
branches/experimental/2.0.x/bundles/org.savara.activity/pom.xml
branches/experimental/2.0.x/bundles/org.savara.activity/schema/
branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd
branches/experimental/2.0.x/bundles/org.savara.activity/src/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/osgi/
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/osgi/Activator.java
branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java
branches/experimental/2.0.x/bundles/org.savara.scenario/schema/
branches/experimental/2.0.x/bundles/org.savara.scenario/schema/Scenario.xsd
Modified:
branches/experimental/2.0.x/bundles/pom.xml
Log:
Initial checkin of activity model.
Added: branches/experimental/2.0.x/bundles/org.savara.activity/.classpath
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/.classpath (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/.classpath 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: branches/experimental/2.0.x/bundles/org.savara.activity/.project
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/.project (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/.project 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.savara.activity</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.jdt.core.prefs 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,8 @@
+#Fri Jan 14 18:07:00 GMT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.pde.core.prefs
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.pde.core.prefs (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/.settings/org.eclipse.pde.core.prefs 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,5 @@
+#Fri Jan 14 18:07:00 GMT 2011
+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false
+resolve.requirebundle=false
Added: branches/experimental/2.0.x/bundles/org.savara.activity/Copyright.txt
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/Copyright.txt (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/Copyright.txt 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,17 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
Added: branches/experimental/2.0.x/bundles/org.savara.activity/META-INF/MANIFEST.MF
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/META-INF/MANIFEST.MF (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/META-INF/MANIFEST.MF 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: SAVARA Activity
+Bundle-SymbolicName: org.savara.activity
+Bundle-Version: 2.0.0.SNAPSHOT
+Bundle-Activator: org.savara.activity.osgi.Activator
+Bundle-Vendor: www.savara.org
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Import-Package: org.osgi.framework;version="1.3.0"
Added: branches/experimental/2.0.x/bundles/org.savara.activity/build.properties
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/build.properties (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/build.properties 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,4 @@
+source.. = src/main/java/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Added: branches/experimental/2.0.x/bundles/org.savara.activity/pom.xml
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/pom.xml (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/pom.xml 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,44 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.savara.bundles</groupId>
+ <artifactId>org.savara.activity</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Savara::Bundles::Activity</name>
+
+ <parent>
+ <groupId>org.savara</groupId>
+ <artifactId>bundles</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.scribble.bundles</groupId>
+ <artifactId>org.scribble.common</artifactId>
+ <version>${scribble.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.scribble.bundles</groupId>
+ <artifactId>org.scribble.protocol</artifactId>
+ <version>${scribble.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.savara.bundles</groupId>
+ <artifactId>org.savara.common</artifactId>
+ <version>${savara.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>${osgi.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
Added: branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/schema/Activity.xsd 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.savara.org/activity" xmlns:tns="http://www.savara.org/activity" elementFormDefault="qualified">
+
+ <complexType name="EndpointActivity">
+ <attribute name="endpointName" type="string"></attribute>
+ <attribute name="instanceId" type="string"></attribute>
+ </complexType>
+
+ <complexType name="Error">
+ <complexContent>
+ <extension base="tns:EndpointActivity">
+ <attribute name="description" type="string"></attribute>
+ <attribute name="type" type="string"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="MessageActivity">
+ <complexContent>
+ <extension base="tns:EndpointActivity">
+ <attribute name="operationName" type="string"></attribute>
+ <attribute name="faultName" type="string"></attribute>
+ <attribute name="type" type="string"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="SendMessage">
+ <complexContent>
+ <extension base="tns:MessageActivity">
+ <attribute name="expected" type="boolean" default="true"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="ReceiveMessage">
+ <complexContent>
+ <extension base="tns:MessageActivity">
+ <attribute name="expected" type="boolean" default="true"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="LifecycleActivity">
+ <complexContent>
+ <extension base="tns:EndpointActivity">
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="StartInstance">
+ <complexContent>
+ <extension base="tns:LifecycleActivity">
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FinishInstance">
+ <complexContent>
+ <extension base="tns:LifecycleActivity">
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+</schema>
\ No newline at end of file
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/EndpointActivity.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,98 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EndpointActivity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EndpointActivity">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="endpointName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="instanceId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EndpointActivity")
+ at XmlSeeAlso({
+ LifecycleActivity.class,
+ MessageActivity.class,
+ Error.class
+})
+public class EndpointActivity {
+
+ @XmlAttribute(name = "endpointName")
+ protected String endpointName;
+ @XmlAttribute(name = "instanceId")
+ protected String instanceId;
+
+ /**
+ * Gets the value of the endpointName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEndpointName() {
+ return endpointName;
+ }
+
+ /**
+ * Sets the value of the endpointName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEndpointName(String value) {
+ this.endpointName = value;
+ }
+
+ /**
+ * Gets the value of the instanceId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ /**
+ * Sets the value of the instanceId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceId(String value) {
+ this.instanceId = value;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/Error.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,94 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Error complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Error">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}EndpointActivity">
+ * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Error")
+public class Error
+ extends EndpointActivity
+{
+
+ @XmlAttribute(name = "description")
+ protected String description;
+ @XmlAttribute(name = "type")
+ protected String type;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/FinishInstance.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for FinishInstance complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FinishInstance">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}LifecycleActivity">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FinishInstance")
+public class FinishInstance
+ extends LifecycleActivity
+{
+
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/LifecycleActivity.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,44 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LifecycleActivity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="LifecycleActivity">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}EndpointActivity">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "LifecycleActivity")
+ at XmlSeeAlso({
+ FinishInstance.class,
+ StartInstance.class
+})
+public class LifecycleActivity
+ extends EndpointActivity
+{
+
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/MessageActivity.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,126 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MessageActivity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MessageActivity">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}EndpointActivity">
+ * <attribute name="operationName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="faultName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MessageActivity")
+ at XmlSeeAlso({
+ SendMessage.class,
+ ReceiveMessage.class
+})
+public class MessageActivity
+ extends EndpointActivity
+{
+
+ @XmlAttribute(name = "operationName")
+ protected String operationName;
+ @XmlAttribute(name = "faultName")
+ protected String faultName;
+ @XmlAttribute(name = "type")
+ protected String type;
+
+ /**
+ * Gets the value of the operationName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOperationName() {
+ return operationName;
+ }
+
+ /**
+ * Sets the value of the operationName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOperationName(String value) {
+ this.operationName = value;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ObjectFactory.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,103 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.savara.activity.model package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.savara.activity.model
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link LifecycleActivity }
+ *
+ */
+ public LifecycleActivity createLifecycleActivity() {
+ return new LifecycleActivity();
+ }
+
+ /**
+ * Create an instance of {@link FinishInstance }
+ *
+ */
+ public FinishInstance createFinishInstance() {
+ return new FinishInstance();
+ }
+
+ /**
+ * Create an instance of {@link Error }
+ *
+ */
+ public Error createError() {
+ return new Error();
+ }
+
+ /**
+ * Create an instance of {@link ReceiveMessage }
+ *
+ */
+ public ReceiveMessage createReceiveMessage() {
+ return new ReceiveMessage();
+ }
+
+ /**
+ * Create an instance of {@link StartInstance }
+ *
+ */
+ public StartInstance createStartInstance() {
+ return new StartInstance();
+ }
+
+ /**
+ * Create an instance of {@link EndpointActivity }
+ *
+ */
+ public EndpointActivity createEndpointActivity() {
+ return new EndpointActivity();
+ }
+
+ /**
+ * Create an instance of {@link SendMessage }
+ *
+ */
+ public SendMessage createSendMessage() {
+ return new SendMessage();
+ }
+
+ /**
+ * Create an instance of {@link MessageActivity }
+ *
+ */
+ public MessageActivity createMessageActivity() {
+ return new MessageActivity();
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/ReceiveMessage.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ReceiveMessage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ReceiveMessage">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}MessageActivity">
+ * <attribute name="expected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ReceiveMessage")
+public class ReceiveMessage
+ extends MessageActivity
+{
+
+ @XmlAttribute(name = "expected")
+ protected Boolean expected;
+
+ /**
+ * Gets the value of the expected property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isExpected() {
+ if (expected == null) {
+ return true;
+ } else {
+ return expected;
+ }
+ }
+
+ /**
+ * Sets the value of the expected property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setExpected(Boolean value) {
+ this.expected = value;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/SendMessage.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SendMessage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SendMessage">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}MessageActivity">
+ * <attribute name="expected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SendMessage")
+public class SendMessage
+ extends MessageActivity
+{
+
+ @XmlAttribute(name = "expected")
+ protected Boolean expected;
+
+ /**
+ * Gets the value of the expected property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isExpected() {
+ if (expected == null) {
+ return true;
+ } else {
+ return expected;
+ }
+ }
+
+ /**
+ * Sets the value of the expected property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setExpected(Boolean value) {
+ this.expected = value;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/StartInstance.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+
+package org.savara.activity;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for StartInstance complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="StartInstance">
+ * <complexContent>
+ * <extension base="{http://www.savara.org/activity}LifecycleActivity">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "StartInstance")
+public class StartInstance
+ extends LifecycleActivity
+{
+
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/osgi/Activator.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/osgi/Activator.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/osgi/Activator.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,30 @@
+package org.savara.activity.osgi;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+}
Added: branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.activity/src/main/java/org/savara/activity/package-info.java 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2011.01.14 at 06:04:31 PM GMT
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.savara.org/activity")
+package org.savara.activity;
Added: branches/experimental/2.0.x/bundles/org.savara.scenario/schema/Scenario.xsd
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.scenario/schema/Scenario.xsd (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.scenario/schema/Scenario.xsd 2011-01-14 18:19:28 UTC (rev 579)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.savara.org/scenario" xmlns:tns="http://www.savara.org/scenario" elementFormDefault="qualified">
+
+ <complexType name="Role">
+ <attribute name="ID" type="ID"></attribute>
+ <attribute name="name" type="string"></attribute>
+ </complexType>
+
+ <complexType name="Scenario">
+ <sequence>
+ <element name="roles" type="tns:Role" maxOccurs="unbounded"
+ minOccurs="1">
+ </element>
+ <element name="events" type="tns:Event"
+ maxOccurs="unbounded" minOccurs="1">
+ </element>
+ <element name="links" type="tns:Link" maxOccurs="unbounded"
+ minOccurs="1">
+ </element>
+ </sequence>
+ <attribute name="name" type="string"></attribute>
+ <attribute name="description" type="string"></attribute>
+ <attribute name="author" type="string"></attribute>
+ </complexType>
+
+ <complexType name="Event">
+ <attribute name="ID" type="ID"></attribute>
+ <attribute name="role" type="IDREF"></attribute>
+ <attribute name="errorExpected" type="boolean"></attribute>
+ </complexType>
+
+ <complexType name="Link">
+ <attribute name="source" type="IDREF"></attribute>
+ <attribute name="target" type="IDREF"></attribute>
+ </complexType>
+
+ <complexType name="MessageEvent">
+ <complexContent>
+ <extension base="tns:Event">
+ <attribute name="operationName" type="string"></attribute>
+ <attribute name="faultName" type="string"></attribute>
+ <attribute name="type" type="string"></attribute>
+ <attribute name="value" type="anyURI"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="SendEvent">
+ <complexContent>
+ <extension base="tns:MessageEvent"></extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="ReceiveEvent">
+ <complexContent>
+ <extension base="tns:MessageEvent"></extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="Group">
+ <complexContent>
+ <extension base="tns:Event">
+ <sequence>
+ <element maxOccurs="unbounded" minOccurs="0" name="events" type="tns:Event"/>
+ </sequence>
+ <attribute name="name" type="string"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="TimeElapsedEvent">
+ <complexContent>
+ <extension base="tns:Event">
+ <attribute name="duration" type="string"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="Import">
+ <complexContent>
+ <extension base="tns:Event">
+ <attribute name="url" type="anyURI"></attribute>
+ <attribute name="group" type="string"></attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="scenario" type="tns:Scenario"></element>
+</schema>
\ No newline at end of file
Modified: branches/experimental/2.0.x/bundles/pom.xml
===================================================================
--- branches/experimental/2.0.x/bundles/pom.xml 2011-01-14 17:29:03 UTC (rev 578)
+++ branches/experimental/2.0.x/bundles/pom.xml 2011-01-14 18:19:28 UTC (rev 579)
@@ -20,11 +20,13 @@
</properties>
<modules>
+ <module>org.savara.activity</module>
<module>org.savara.bpel</module>
+ <module>org.savara.common</module>
<module>org.savara.contract</module>
+ <module>org.savara.monitor</module>
+ <module>org.savara.pi4soa.cdm</module>
<module>org.savara.scenario</module>
- <module>org.savara.common</module>
- <module>org.savara.pi4soa.cdm</module>
<module>org.savara.wsdl</module>
<module>org.savara.bundles.tests</module>
</modules>
More information about the savara-commits
mailing list