You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@batchee.apache.org by rm...@apache.org on 2013/11/05 08:39:34 UTC

[57/62] importing batchee from github - a fork from the IBm RI

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/ValidatorHelper.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/ValidatorHelper.java b/JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/ValidatorHelper.java
deleted file mode 100755
index 2a297b8..0000000
--- a/JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/ValidatorHelper.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright 2012 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.jsl.util;
-
-import java.net.URL;
-
-import javax.xml.XMLConstants;
-import javax.xml.validation.Schema;
-import javax.xml.validation.SchemaFactory;
-
-import org.xml.sax.SAXException;
-
-public class ValidatorHelper {
-
-    public final static String SCHEMA_LOCATION = "xsd/jobXML_1_0.xsd";
-    
-    private static Schema schema = null;
-    
-    private static SchemaFactory sf = 
-        SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);              
-
-    public static Schema getXJCLSchema() {
-        if (schema == null) {
-            try {
-                URL url = ValidatorHelper.class.getResource("/" + SCHEMA_LOCATION);
-                schema = sf.newSchema(url);
-            } catch (SAXException e) {
-                throw new RuntimeException(e);
-            }
-        }
-        return schema;        
-    }     
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/main/resources/xsd/batchXML_1_0.xsd
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/main/resources/xsd/batchXML_1_0.xsd b/JSR352.JobXML.Model/src/main/resources/xsd/batchXML_1_0.xsd
deleted file mode 100755
index 7982a88..0000000
--- a/JSR352.JobXML.Model/src/main/resources/xsd/batchXML_1_0.xsd
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2012 International Business Machines Corp.
-
-  See the NOTICE file distributed with this work for additional information
-  regarding copyright ownership. Licensed 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.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
-	targetNamespace="http://xmlns.jcp.org/xml/ns/javaee" xmlns:jbatch="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
-
-	<xs:element name="batch-artifacts" type="jbatch:BatchArtifacts" />
-
-	<xs:complexType name="BatchArtifacts">
-		<xs:sequence>
-			<xs:element name="ref" type="jbatch:BatchArtifactRef" minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-	</xs:complexType>
-
-	<xs:complexType name="BatchArtifactRef">
-		<xs:attribute name="id" use="required" type="xs:string" />
-		<xs:attribute name="class" use="required" type="xs:string" />
-	</xs:complexType>
-
-</xs:schema>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xjb
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xjb b/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xjb
deleted file mode 100755
index 7536588..0000000
--- a/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xjb
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jaxb:bindings
-    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    jaxb:version="2.1">
-
-    <jaxb:bindings schemaLocation="jobXML_1_0.xsd" node="/xsd:schema">
-        <jaxb:schemaBindings >
-          <jaxb:package name="com.ibm.jbatch.jsl.model"/>
-        </jaxb:schemaBindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Step']/xsd:attribute[@name='next']">
-            <jaxb:property name="nextFromAttribute"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Split']/xsd:attribute[@name='next']">
-            <jaxb:property name="nextFromAttribute"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Flow']/xsd:attribute[@name='next']">
-            <jaxb:property name="nextFromAttribute"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Job']">
-            <jaxb:class name="JSLJob"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Job']/xsd:sequence/xsd:choice[1]">
-            <jaxb:property name="executionElements">
-                <jaxb:baseType name="com.ibm.jbatch.container.jsl.ExecutionElement"/>
-             </jaxb:property>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Decision']/xsd:sequence/xsd:group[1]">
-            <jaxb:property name="transitionElements">
-                <jaxb:baseType name="com.ibm.jbatch.container.jsl.TransitionElement"/>
-             </jaxb:property>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Step']/xsd:sequence/xsd:group[1]">
-            <jaxb:property name="transitionElements">
-                <jaxb:baseType name="com.ibm.jbatch.container.jsl.TransitionElement"/>
-             </jaxb:property>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Split']/xsd:sequence/xsd:element[@name='flow']">
-            <jaxb:property name="flows"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Flow']/xsd:sequence/xsd:choice[1]">
-            <jaxb:property name="executionElements">
-                <jaxb:baseType name="com.ibm.jbatch.container.jsl.ExecutionElement"/>
-             </jaxb:property>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Flow']/xsd:sequence/xsd:group[1]">
-            <jaxb:property name="transitionElements">
-                <jaxb:baseType name="com.ibm.jbatch.container.jsl.TransitionElement"/>
-             </jaxb:property>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Properties']">
-            <jaxb:class name="JSLProperties"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Properties']/xsd:sequence/xsd:element[1]">
-            <jaxb:property name="propertyList"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='Listeners']/xsd:sequence/xsd:element[1]">
-            <jaxb:property name="listenerList"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='ExceptionClassFilter']/xsd:sequence/xsd:element[@name='include']">
-            <jaxb:property name="includeList"/>
-        </jaxb:bindings>
-        <jaxb:bindings node="//xsd:complexType[@name='ExceptionClassFilter']/xsd:sequence/xsd:element[@name='exclude']">
-            <jaxb:property name="excludeList"/>
-        </jaxb:bindings>
-    </jaxb:bindings>
-</jaxb:bindings>
-

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xsd
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xsd b/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xsd
deleted file mode 100755
index 8ed923d..0000000
--- a/JSR352.JobXML.Model/src/main/resources/xsd/jobXML_1_0.xsd
+++ /dev/null
@@ -1,435 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2012,2013 International Business Machines Corp. See the NOTICE 
-	file distributed with this work for additional information regarding copyright 
-	ownership. Licensed 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. -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-	elementFormDefault="qualified" targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
-	xmlns:jsl="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
-
-	<xs:annotation>
-		<xs:documentation>
-			Job Specification Language (JSL) specifies a job,
-			its steps, and directs their execution.
-			JSL also can be referred to as "Job XML".
-		</xs:documentation>
-	</xs:annotation>
-
-	<xs:simpleType name="artifactRef">
-		<xs:annotation>
-			<xs:documentation>
-				This is a helper type. Though it is not otherwise
-				called out by this name
-				in the specification, it captures the fact
-				that the xs:string value refers
-				to a batch artifact, across numerous
-				other JSL type definitions.
-			</xs:documentation>
-		</xs:annotation>
-		<xs:restriction base="xs:string" />
-	</xs:simpleType>
-
-	<xs:complexType name="Job">
-		<xs:annotation>
-			<xs:documentation>
-				The type of a job definition, whether concrete or
-				abstract. This is the type of the root element of any JSL document.
-			</xs:documentation>
-		</xs:annotation>
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1">
-				<xs:annotation>
-					<xs:documentation>
-						The job-level properties, which are accessible
-						via the JobContext.getProperties() API in a batch artifact.
-					</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:element name="listeners" type="jsl:Listeners"
-				minOccurs="0" maxOccurs="1">
-				<xs:annotation>
-					<xs:documentation>
-						Note that "listeners" sequence order in XML does
-						not imply order of execution by
-						the batch runtime, per the
-						specification.
-					</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:choice minOccurs="0" maxOccurs="unbounded">
-				<xs:element name="decision" type="jsl:Decision" />
-				<xs:element name="flow" type="jsl:Flow" />
-				<xs:element name="split" type="jsl:Split" />
-				<xs:element name="step" type="jsl:Step" />
-			</xs:choice>
-		</xs:sequence>
-        <xs:attribute name="version" use="required" type="xs:string" fixed="1.0" />
-		<xs:attribute name="id" use="required" type="xs:ID" />
-		<xs:attribute name="restartable" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:element name="job" type="jsl:Job">
-		<xs:annotation>
-			<xs:documentation>
-				The definition of an job, whether concrete or
-				abstract. This is the
-				type of the root element of any JSL document.
-			</xs:documentation>
-		</xs:annotation>
-	</xs:element>
-
-	<xs:complexType name="Listener">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="Split">
-		<xs:sequence>
-			<xs:element name="flow" type="jsl:Flow" minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-		<xs:attribute name="id" use="required" type="xs:ID" />
-		<xs:attribute name="next" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="Flow">
-		<xs:sequence>
-			<xs:choice minOccurs="0" maxOccurs="unbounded">
-				<xs:element name="decision" type="jsl:Decision" />
-				<xs:element name="flow" type="jsl:Flow" />
-				<xs:element name="split" type="jsl:Split" />
-				<xs:element name="step" type="jsl:Step" />
-			</xs:choice>
-			<xs:group ref="jsl:TransitionElements" minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-		<xs:attribute name="id" use="required" type="xs:ID" />
-		<xs:attribute name="next" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:group name="TransitionElements">
-		<xs:annotation>
-			<xs:documentation>
-				This grouping provides allows for the reuse of the
-				'end', 'fail', 'next', 'stop' element sequences which
-				may appear at the end of a 'step', 'flow', 'split' or 'decision'.
-				The term 'TransitionElements' does not formally appear in the spec, it is
-				a schema convenience.			
-			</xs:documentation>
-		</xs:annotation>
-		<xs:choice>
-			<xs:element name="end" type="jsl:End" />
-			<xs:element name="fail" type="jsl:Fail" />
-			<xs:element name="next" type="jsl:Next" />
-			<xs:element name="stop" type="jsl:Stop" />
-		</xs:choice>
-	</xs:group>
-
-	<xs:complexType name="Decision">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-			<xs:group ref="jsl:TransitionElements" minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-		<xs:attribute name="id" use="required" type="xs:ID" />
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:attributeGroup name="TerminatingAttributes">
-		<xs:attribute name="on" use="required" type="xs:string" />
-		<xs:attribute name="exit-status" use="optional" type="xs:string" />
-	</xs:attributeGroup>
-
-	<xs:complexType name="Fail">
-		<xs:attributeGroup ref="jsl:TerminatingAttributes" />
-	</xs:complexType>
-
-	<xs:complexType name="End">
-		<xs:attributeGroup ref="jsl:TerminatingAttributes" />
-	</xs:complexType>
-
-	<xs:complexType name="Stop">
-		<xs:attributeGroup ref="jsl:TerminatingAttributes" />
-		<xs:attribute name="restart" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="Next">
-		<xs:attribute name="on" use="required" type="xs:string" />
-		<xs:attribute name="to" use="required" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="CheckpointAlgorithm">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="ExceptionClassFilter">
-		<xs:sequence>
-			<xs:element name="include" minOccurs="0" maxOccurs="unbounded">
-				<xs:complexType>
-					<xs:sequence />
-					<xs:attribute name="class" use="required" type="xs:string" />
-				</xs:complexType>
-			</xs:element>
-			<xs:element name="exclude" minOccurs="0" maxOccurs="unbounded">
-				<xs:complexType>
-					<xs:sequence />
-					<xs:attribute name="class" use="required" type="xs:string" />
-				</xs:complexType>
-			</xs:element>
-		</xs:sequence>
-	</xs:complexType>
-
-	<xs:complexType name="Step">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="listeners" type="jsl:Listeners"
-				minOccurs="0" maxOccurs="1">
-				<xs:annotation>
-					<xs:documentation>
-						Note that "listeners" sequence order in XML does
-						not imply order of execution by
-						the batch runtime, per the
-						specification.
-					</xs:documentation>
-				</xs:annotation>
-			</xs:element>
-			<xs:choice minOccurs="0" maxOccurs="1"> 
-				<xs:element name="batchlet" type="jsl:Batchlet" />
-				<xs:element name="chunk" type="jsl:Chunk" />
-			</xs:choice>
-			<xs:element name="partition" type="jsl:Partition"
-				minOccurs="0" maxOccurs="1" />
-			<xs:group ref="jsl:TransitionElements" minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-		<xs:attribute name="id" use="required" type="xs:ID" />
-		<xs:attribute name="start-limit" use="optional" type="xs:string" />
-		<xs:attribute name="allow-start-if-complete" use="optional"
-			type="xs:string" />
-		<xs:attribute name="next" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="Batchlet">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="Chunk">
-		<xs:sequence>
-			<xs:element name="reader" type="jsl:ItemReader" />
-			<xs:element name="processor" type="jsl:ItemProcessor"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="writer" type="jsl:ItemWriter" />
-			<xs:element name="checkpoint-algorithm" type="jsl:CheckpointAlgorithm"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="skippable-exception-classes" type="jsl:ExceptionClassFilter"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="retryable-exception-classes" type="jsl:ExceptionClassFilter"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="no-rollback-exception-classes" type="jsl:ExceptionClassFilter"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="checkpoint-policy" use="optional"
-			type="xs:string">
-			<xs:annotation>
-				<xs:documentation>
-					Specifies the checkpoint policy that governs
-					commit behavior for this chunk.
-					Valid values are: "item" or
-					"custom". The "item" policy means the
-					chunk is checkpointed after a
-					specified number of items are
-					processed. The "custom" policy means
-					the chunk is checkpointed
-					according to a checkpoint algorithm
-					implementation. Specifying
-					"custom" requires that the
-					checkpoint-algorithm element is also
-					specified. It is an optional
-					attribute. The default policy is
-					"item". However, we chose not to define
-					a schema-specified default for this attribute.
-				</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name="item-count" use="optional" type="xs:string">
-			<xs:annotation>
-				<xs:documentation>
-					Specifies the number of items to process per chunk
-					when using the item
-					checkpoint policy. It must be valid XML integer.
-					It is an optional
-					attribute. The default is 10. The item-count
-					attribute is ignored
-					for "custom" checkpoint policy. However, to
-					make it easier for implementations to support JSL inheritance
-					we
-					abstain from defining a schema-specified default for this
-					attribute.
-				</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name="time-limit" use="optional" type="xs:string">
-			<xs:annotation>
-				<xs:documentation>
-					Specifies the amount of time in seconds before
-					taking a checkpoint for the
-					item checkpoint policy. It must be valid
-					XML integer. It is an
-					optional attribute. The default is 0, which
-					means no limit. However, to
-					make it easier for implementations to
-					support JSL inheritance
-					we abstain from defining a schema-specified
-					default for this attribute.
-					When a value greater than zero is
-					specified, a checkpoint is taken when
-					time-limit is reached or
-					item-count items have been processed,
-					whichever comes first. The
-					time-limit attribute is ignored for
-					"custom" checkpoint policy.
-				</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name="skip-limit" use="optional" type="xs:string">
-			<xs:annotation>
-				<xs:documentation>
-					Specifies the number of exceptions a step will
-					skip if any configured
-					skippable exceptions are thrown by chunk
-					processing. It must be a
-					valid XML integer value. It is an optional
-					attribute. The default
-					is no limit.
-				</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-		<xs:attribute name="retry-limit" use="optional" type="xs:string">
-			<xs:annotation>
-				<xs:documentation>
-					Specifies the number of times a step will retry if
-					any configured retryable
-					exceptions are thrown by chunk processing.
-					It must be a valid XML
-					integer value. It is an optional attribute.
-					The default is no
-					limit.
-				</xs:documentation>
-			</xs:annotation>
-		</xs:attribute>
-	</xs:complexType>
-
-	<xs:complexType name="ItemReader">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="ItemProcessor">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="ItemWriter">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="Property">
-		<xs:attribute name="name" type="xs:string" use="required" />
-		<xs:attribute name="value" type="xs:string" use="required" />
-	</xs:complexType>
-
-	<xs:complexType name="Properties">
-		<xs:sequence>
-			<xs:element name="property" type="jsl:Property" maxOccurs="unbounded" minOccurs="0" />
-		</xs:sequence>
-		<xs:attribute name="partition" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="Listeners">
-		<xs:sequence>
-			<xs:element name="listener" type="jsl:Listener" maxOccurs="unbounded" minOccurs="0" />
-		</xs:sequence>
-	</xs:complexType>
-
-	<xs:complexType name="Partition">
-		<xs:sequence>
-			<xs:choice minOccurs="0" maxOccurs="1"> 
-				<xs:element name="mapper" type="jsl:PartitionMapper" />
-				<xs:element name="plan" type="jsl:PartitionPlan" />
-			</xs:choice>
-			<xs:element name="collector" type="jsl:Collector"
-				minOccurs="0" maxOccurs="1" />
-			<xs:element name="analyzer" type="jsl:Analyzer" minOccurs="0"
-				maxOccurs="1" />
-			<xs:element name="reducer" type="jsl:PartitionReducer"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-	</xs:complexType>
-
-	<xs:complexType name="PartitionPlan">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="unbounded" />
-		</xs:sequence>
-		<xs:attribute name="partitions" use="optional" type="xs:string" />
-		<xs:attribute name="threads" use="optional" type="xs:string" />
-	</xs:complexType>
-
-	<xs:complexType name="PartitionMapper">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="Collector">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="Analyzer">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-	<xs:complexType name="PartitionReducer">
-		<xs:sequence>
-			<xs:element name="properties" type="jsl:Properties"
-				minOccurs="0" maxOccurs="1" />
-		</xs:sequence>
-		<xs:attribute name="ref" use="required" type="jsl:artifactRef" />
-	</xs:complexType>
-
-</xs:schema>

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/test/java/test/JobModelTest.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/test/java/test/JobModelTest.java b/JSR352.JobXML.Model/src/test/java/test/JobModelTest.java
deleted file mode 100755
index 3e1c584..0000000
--- a/JSR352.JobXML.Model/src/test/java/test/JobModelTest.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Copyright 2012 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 test;
-
-import static org.junit.Assert.*;
-
-import java.net.URL;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBElement;
-import javax.xml.bind.Unmarshaller;
-
-
-import org.junit.Ignore;
-import org.junit.Test;
-
-import com.ibm.jbatch.jsl.model.Batchlet;
-import com.ibm.jbatch.jsl.model.JSLJob;
-import com.ibm.jbatch.jsl.model.Step;
-import com.ibm.jbatch.jsl.util.ValidatorHelper;
-import com.ibm.jbatch.jsl.util.JSLValidationEventHandler;
-
-public class JobModelTest {
-
-    @Test
-    public void testModelNoValidate() throws Exception {
-        
-        JAXBContext ctx = JAXBContext.newInstance("com.ibm.jbatch.jsl.model");
-        
-        Unmarshaller u = ctx.createUnmarshaller();
-        URL url = this.getClass().getResource("/job1.xml");
-        
-        // Use this for anonymous type
-        //Job job = (Job)u.unmarshal(url.openStream());
-        
-        // Use this for named complex type
-        Object elem = u.unmarshal(url.openStream());
-        JSLJob job = (JSLJob)((JAXBElement)elem).getValue();
-        
-        assertEquals("job1", job.getId());
-        assertEquals(1, job.getExecutionElements().size());
-        Step step = (Step)job.getExecutionElements().get(0);
-        assertEquals("step1", step.getId());
-        Batchlet b = step.getBatchlet();
-        assertEquals("step1Ref", b.getRef());
-    }
-    
-    @Test
-    public void testModelValidate() throws Exception {
-        
-        JAXBContext ctx = JAXBContext.newInstance("com.ibm.jbatch.jsl.model");
-        
-        Unmarshaller u = ctx.createUnmarshaller();
-        u.setSchema(ValidatorHelper.getXJCLSchema());
-        JSLValidationEventHandler handler = new JSLValidationEventHandler();
-        u.setEventHandler(handler);
-        URL url = this.getClass().getResource("/job1.xml");
-        
-        // Use this for anonymous type
-        //Job job = (Job)u.unmarshal(url.openStream());
-        
-        // Use this for named complex type
-        Object elem = u.unmarshal(url.openStream());
-        assertFalse("XSD invalid, see sysout", handler.eventOccurred());
-
-        JSLJob job = (JSLJob)((JAXBElement)elem).getValue();
-        
-        assertEquals("job1", job.getId());
-        assertEquals(1, job.getExecutionElements().size());
-        Step step = (Step)job.getExecutionElements().get(0);
-        assertEquals("step1", step.getId());
-        Batchlet b = step.getBatchlet();
-        assertEquals("step1Ref", b.getRef());
-    }
-
-    @Test
-    public void testValidateInvalid() throws Exception {
-        
-        JAXBContext ctx = JAXBContext.newInstance("com.ibm.jbatch.jsl.model");
-        
-        Unmarshaller u = ctx.createUnmarshaller();
-        u.setSchema(ValidatorHelper.getXJCLSchema());
-        JSLValidationEventHandler handler = new JSLValidationEventHandler();
-        u.setEventHandler(handler);
-        URL url = this.getClass().getResource("/invalid.job1.xml");
-        
-        // Use this for anonymous type
-        //Job job = (Job)u.unmarshal(url.openStream());
-        
-        // Use this for named complex type
-        Object elem = u.unmarshal(url.openStream());
-        assertTrue("XSD invalid, see sysout", handler.eventOccurred());
-    }
-    
-    @Test
-    @Ignore
-    public void testValidateInvalidEmptyString() throws Exception {
-        
-        JAXBContext ctx = JAXBContext.newInstance("com.ibm.jbatch.jsl.model");
-        
-        Unmarshaller u = ctx.createUnmarshaller();
-        u.setSchema(ValidatorHelper.getXJCLSchema());
-        JSLValidationEventHandler handler = new JSLValidationEventHandler();
-        u.setEventHandler(handler);
-        URL url = this.getClass().getResource("/emptyString.xml");
-        
-        // Use this for anonymous type
-        //Job job = (Job)u.unmarshal(url.openStream());
-        
-        // Use this for named complex type
-        Object elem = u.unmarshal(url.openStream());
-        assertTrue("XSD invalid, see sysout", handler.eventOccurred());
-    }
-
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/test/java/test/PatternMatchingTests.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/test/java/test/PatternMatchingTests.java b/JSR352.JobXML.Model/src/test/java/test/PatternMatchingTests.java
deleted file mode 100755
index f9c0adf..0000000
--- a/JSR352.JobXML.Model/src/test/java/test/PatternMatchingTests.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Copyright 2012 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 test;
-
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
-import org.junit.Test;
-
-import com.ibm.jbatch.container.jsl.impl.GlobPatternMatcherImpl;
-
-public class PatternMatchingTests {
-
-	private boolean matchSpecifiedExitStatus(String toMatch, String pattern) {
-		GlobPatternMatcherImpl matcher = new GlobPatternMatcherImpl();
-		return matcher.matchWithoutBackslashEscape(toMatch, pattern);
-	}
-
-	public PatternMatchingTests() {
-		super();
-	}
-
-	@Test
-	public void testBasic() {            
-		assertTrue(matchSpecifiedExitStatus("AA", "AA"));
-	}
-
-	@Test
-	public void testQuestionMark() {            
-		assertTrue(matchSpecifiedExitStatus("AA", "A?"));
-	}
-
-	@Test
-	public void testQuestionMarkRegEx() {            
-		assertFalse(matchSpecifiedExitStatus("AA", "A.?"));
-	}
-
-	@Test
-	public void testAsterisk() {            
-		assertTrue(matchSpecifiedExitStatus("ABCDEFG", "A*"));
-	}
-
-	@Test
-	public void testAsteriskRegEx() {            
-		assertFalse(matchSpecifiedExitStatus("ABCDEFG", "A.*"));
-	}
-	
-	@Test
-	public void testMultiple1() {            
-		assertFalse(matchSpecifiedExitStatus("AAABCABC", "A*C*D*"));
-		assertTrue(matchSpecifiedExitStatus("AAABCABDC", "A*C*D*"));
-		assertTrue(matchSpecifiedExitStatus("AAABCABDC", "A*C??*D*"));
-		assertTrue(matchSpecifiedExitStatus("AAABCABDC", "A*C??*D?"));
-		assertTrue(matchSpecifiedExitStatus("AAABCABDC", "*BDC"));
-		assertTrue(matchSpecifiedExitStatus("BDC", "*BDC"));
-		assertTrue(matchSpecifiedExitStatus("BDC", "BDC*"));
-		assertTrue(matchSpecifiedExitStatus("BDC", "*B*D*C*"));
-		assertTrue(matchSpecifiedExitStatus("BBC", "*B*B*C*"));
-		assertTrue(matchSpecifiedExitStatus("Bxzvc7689asafBC", "*B*B*C*"));
-		assertTrue(matchSpecifiedExitStatus("AAABCABC", "AA*A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A*A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A**A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A***A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A?*A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A??A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A??A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "*A??A*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "*AB*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "*AB**"));
-		assertTrue(matchSpecifiedExitStatus("ABCCBAABCCBA", "*A*A*A"));
-		assertFalse(matchSpecifiedExitStatus("ABCCBAABCCBA", "*A*D*A"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "*AB*C"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "*AB*C*"));
-		// Not sure if this will work
-		assertTrue(matchSpecifiedExitStatus("A*B", "A*B"));
-		assertFalse(matchSpecifiedExitStatus("ZABCCBAABCCBA", "*A*D*"));
-		assertTrue(matchSpecifiedExitStatus("ZABCCBAABCCBA", "Z*C*A*BA"));
-		assertFalse(matchSpecifiedExitStatus("ABCABC", "*AB?C*"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A??*C"));
-		assertFalse(matchSpecifiedExitStatus("ABCABC", "A?CB?*C"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A?CA?*C"));
-		assertTrue(matchSpecifiedExitStatus("ABCABC", "A?CA*C"));
-		assertFalse(matchSpecifiedExitStatus("ABCCBAABCCBA", "*A*D*A"));
-		assertFalse(matchSpecifiedExitStatus("A", "AD*A"));
-		assertFalse(matchSpecifiedExitStatus("AD", "AD*A"));
-		assertFalse(matchSpecifiedExitStatus("AD", "AD*AD"));
-		assertFalse(matchSpecifiedExitStatus("ADADA", "AD*AD"));
-		assertFalse(matchSpecifiedExitStatus("AAA", "A*D*A*D"));
-		assertFalse(matchSpecifiedExitStatus("AAAD", "A*D*A*D"));
-	}
-	
-	// Basically I just have this here since it's easy to copy-paste a failing
-	// assertion to run only the single JUnit test.
-	@Test
-	public void testMultiple2() {            	
-
-	}
-
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/test/resources/emptyString.xml
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/test/resources/emptyString.xml b/JSR352.JobXML.Model/src/test/resources/emptyString.xml
deleted file mode 100755
index ecd916d..0000000
--- a/JSR352.JobXML.Model/src/test/resources/emptyString.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2012 International Business Machines Corp.
-  
-  See the NOTICE file distributed with this work for additional information
-  regarding copyright ownership. Licensed 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.
--->
-<job id="job1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
-	<step id="step1">
-		<batchlet ref="" /> <!-- Empty String -->
-	</step>
-</job>

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/test/resources/invalid.job1.xml
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/test/resources/invalid.job1.xml b/JSR352.JobXML.Model/src/test/resources/invalid.job1.xml
deleted file mode 100755
index 8485378..0000000
--- a/JSR352.JobXML.Model/src/test/resources/invalid.job1.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2012 International Business Machines Corp.
-  
-  See the NOTICE file distributed with this work for additional information
-  regarding copyright ownership. Licensed 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.
--->
-<jsl:job id="job1" xmlns:jsl="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
-    <!-- With elemFormDefault = "unqualified", <step> & <batchlet> 
-        should not be NS-qualified by the default ns above -->
-	<step id="step1">
-		<batchlet ref="step1Ref" />
-	</step>
-</jsl:job>

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/src/test/resources/job1.xml
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/src/test/resources/job1.xml b/JSR352.JobXML.Model/src/test/resources/job1.xml
deleted file mode 100755
index bcf7de6..0000000
--- a/JSR352.JobXML.Model/src/test/resources/job1.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2012 International Business Machines Corp.
-  
-  See the NOTICE file distributed with this work for additional information
-  regarding copyright ownership. Licensed 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.
--->
-<job id="job1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
-	<step id="step1">
-		<batchlet ref="step1Ref" />
-	</step>
-</job>

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/BatchletExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/BatchletExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/BatchletExtraCode.java
deleted file mode 100755
index 016d5e1..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/BatchletExtraCode.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */  
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(100);
-	    buf.append("Batchlet: ref=" + ref);
-	    buf.append("\n");
-	    buf.append("Properties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
-	    return buf.toString();
-    }

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/ChunkExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/ChunkExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/ChunkExtraCode.java
deleted file mode 100755
index 36fe50d..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/ChunkExtraCode.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */  
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(250);
-	    String chkAlgStr = checkpointAlgorithm == null ? "null" : checkpointAlgorithm.getRef();
-	    buf.append("Chunk: checkpointAlgorithm = " + chkAlgStr);
-	    buf.append(", skippableExceptions = " + skippableExceptionClasses);
-	    buf.append(", retryableExceptions = " + retryableExceptionClasses);
-	    buf.append(", reader = " + reader);
-	    buf.append(", processor = " + processor);
-	    buf.append(", writer = " + writer);
-	    buf.append(", checkpointPolicy = " + checkpointPolicy);
-	    buf.append(", itemCount = " + itemCount);
-	    buf.append(", timeLimit = " + timeLimit);
-	    buf.append(", skipLimit = " + skipLimit);
-	    buf.append(", retryLimit = " + retryLimit);
-	    buf.append("\n");
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/DecisionExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/DecisionExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/DecisionExtraCode.java
deleted file mode 100755
index a9521cf..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/DecisionExtraCode.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(100);
-	    buf.append("Decision: id=" + id);
-		buf.append("\nTransition elements: \n");
-		if (transitionElements == null) {
-			buf.append("<none>");
-		} else {
-			int j = 0;
-			for ( com.ibm.jbatch.container.jsl.TransitionElement e : transitionElements) {
-				buf.append("transition element[" + j + "]:" + e + "\n");
-				j++;
-			}
-		}
-	    buf.append("\nProperties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
-	    buf.append("\n");
-	    buf.append("Contains decider =" + ref);
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/EndExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/EndExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/EndExtraCode.java
deleted file mode 100755
index 70d9cad..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/EndExtraCode.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(40);
-	    buf.append("End: on = " + on + ", exit-status = " + exitStatus);
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FailExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FailExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FailExtraCode.java
deleted file mode 100755
index 9ed2d09..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FailExtraCode.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(40);
-	    buf.append("Fail: on = " + on + ", exit-status = " + exitStatus);
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FlowExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FlowExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FlowExtraCode.java
deleted file mode 100755
index e2aefce..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/FlowExtraCode.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-/*
- * Appended by build tooling.
- */
-public String toString() {
-	StringBuffer buf = new StringBuffer(100);
-	buf.append("Flow: id=" + id);
-	buf.append("\nExecution elements: \n");
-	if (executionElements == null) {
-		buf.append("<none>");
-	} else {
-		int i = 0;
-		for ( com.ibm.jbatch.container.jsl.ExecutionElement e : executionElements) {
-			buf.append("element[" + i + "]:" + e + "\n");
-			i++;
-		}
-	}
-	buf.append("\nnextFromAttribute =" + nextFromAttribute);
-	buf.append("\nTransition elements: \n");
-	if (transitionElements == null) {
-		buf.append("<none>");
-	} else {
-		int j = 0;
-		for ( com.ibm.jbatch.container.jsl.TransitionElement e : transitionElements) {
-			buf.append("transition element[" + j + "]:" + e + "\n");
-			j++;
-		}
-	}
-	buf.append("\n");
-	return buf.toString();
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLJobExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLJobExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLJobExtraCode.java
deleted file mode 100755
index 871646e..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLJobExtraCode.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */ 
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(100);
-	    buf.append("Job: id=" + id);
-	    buf.append(", restartable=" + restartable);
-	    buf.append("\n");
-	    buf.append("Properties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLPropertiesExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLPropertiesExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLPropertiesExtraCode.java
deleted file mode 100755
index 4876ad7..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/JSLPropertiesExtraCode.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(140);
-	    buf.append("JSL Properties: ");
-	    List<Property> propList = getPropertyList();
-	    if (propList.size() == 0) {
-	    	buf.append("<no properties>");
-	    } else {
-	    	for (Property p : propList) {
-	    		buf.append(p.toString() + "\n");
-	    	}
-	    }
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/NextExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/NextExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/NextExtraCode.java
deleted file mode 100755
index f7c0830..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/NextExtraCode.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(40);
-	    buf.append("Next: to =" + to + ", on = " + on);
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/PropertyExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/PropertyExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/PropertyExtraCode.java
deleted file mode 100755
index 01f75a4..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/PropertyExtraCode.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(40);
-	    buf.append("Property name = " + getName() + ", value = " + getValue());
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/SplitExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/SplitExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/SplitExtraCode.java
deleted file mode 100755
index 03e8411..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/SplitExtraCode.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-/*
- * Appended by build tooling.
- */
-
-public List<com.ibm.jbatch.container.jsl.TransitionElement> getTransitionElements() {
-    return new ArrayList<com.ibm.jbatch.container.jsl.TransitionElement>();
-}
-    
-/*
- * Appended by build tooling.
- */
-public String toString() {
-	StringBuffer buf = new StringBuffer(100);
-	buf.append("Split: id=" + id);
-	buf.append("\nContained Flows: \n");
-	if (flows == null) {
-		buf.append("<none>");
-	} else {
-		int i = 0;
-		for ( Flow f : flows) {
-			buf.append("flow[" + i + "]:" + f + "\n");
-			i++;
-		}
-	}
-	buf.append("\nnextFromAttribute =" + nextFromAttribute);
-	return buf.toString();
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StepExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StepExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StepExtraCode.java
deleted file mode 100755
index 0c370dc..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StepExtraCode.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(100);
-	    buf.append("Step: id=" + id);
-	    buf.append(", startLimit=" + startLimit);
-	    buf.append(", allowStartIfComplete=" + allowStartIfComplete);
-	    buf.append("\nnextFromAttribute =" + nextFromAttribute);
-		buf.append("\nTransition elements: \n");
-		if (transitionElements == null) {
-			buf.append("<none>");
-		} else {
-			int j = 0;
-			for ( com.ibm.jbatch.container.jsl.TransitionElement e : transitionElements) {
-				buf.append("transition element[" + j + "]:" + e + "\n");
-				j++;
-			}
-		}
-	    buf.append("\nProperties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
-	    buf.append("\n");
-	    if (batchlet != null) {
-	    	buf.append("Contains batchlet=" + batchlet);
-	    }
-	    if (chunk != null) {
-	    	buf.append("Contains chunk=" + chunk);
-	    }
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StopExtraCode.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StopExtraCode.java b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StopExtraCode.java
deleted file mode 100755
index 1a79ff1..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/StopExtraCode.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * Copyright 2013 International Business Machines Corp.
- *
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
- */
-    /*
-     * Appended by build tooling.
-     */
-	public String toString() {
-	    StringBuffer buf = new StringBuffer(40);
-	    buf.append("Stop: restart =" + restart + ", on = " + on + ", exit-status = " + exitStatus);
-	    return buf.toString();
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/_README.txt
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/_README.txt b/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/_README.txt
deleted file mode 100755
index b3bf2f1..0000000
--- a/JSR352.JobXML.Model/toStringAndExtraAppendedCodeStubs/_README.txt
+++ /dev/null
@@ -1 +0,0 @@
-More convenient to use .java extensions for the files in this directory so we get syntax highlighting in the editor.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/META-INF/MANIFEST.MF b/JSR352.RI.SPI/META-INF/MANIFEST.MF
deleted file mode 100755
index 4099564..0000000
--- a/JSR352.RI.SPI/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,6 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: com.ibm.jbatch-ri-spi
-Bundle-SymbolicName: com.ibm.jbatch-ri-spi
-Bundle-Version: 1.0
-Export-Package: com.ibm.jbatch.spi

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/build.properties
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/build.properties b/JSR352.RI.SPI/build.properties
deleted file mode 100755
index a12d47e..0000000
--- a/JSR352.RI.SPI/build.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-source.. = src/
-bin.includes = META-INF/,\
-               .

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/pom.xml
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/pom.xml b/JSR352.RI.SPI/pom.xml
deleted file mode 100755
index eabf609..0000000
--- a/JSR352.RI.SPI/pom.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<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/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>javax.batch</groupId>
-        <artifactId>jbatch</artifactId>
-        <version>1.0</version>
-    </parent>
-    <groupId>com.ibm.jbatch</groupId>
-    <artifactId>com.ibm.jbatch-ri-spi</artifactId>
-    <packaging>jar</packaging>
-    <version>1.0</version>
-	<dependencies>
-		<dependency>
-			<groupId>javax.batch</groupId>
-			<artifactId>javax.batch-api</artifactId>
-			<version>1.0</version>
-			<scope>compile</scope>
-		</dependency>
-	</dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0.2</version>
-                <configuration>
-                    <source>1.6</source>
-                    <target>1.6</target>
-                    <encoding>${project.build.sourceEncoding}</encoding>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-resources-plugin</artifactId>
-                <version>2.2</version>
-                <configuration>
-                    <encoding>${project.build.sourceEncoding}</encoding>
-                </configuration>
-            </plugin>
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>build-helper-maven-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>generate-sources</phase>
-						<goals><goal>add-source</goal></goals>
-						<configuration>
-							<sources>
-								<source>src</source>
-							</sources>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifestFile>META-INF/MANIFEST.MF</manifestFile>
-                    </archive>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
-

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchJobUtil.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchJobUtil.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchJobUtil.java
deleted file mode 100755
index 0e7dc21..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchJobUtil.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-/**
- *
- * Implemented by the jbatch 352 RI to allow the host environment to
- * instruct the RI to purge job repository entries associated with 
- * a given "owner".
- * 
- * @author skurz
- */
-public interface BatchJobUtil {
-
-    /**
-     * This method will purge all JobExecution, JobInstance, and job
-     * data "owned" by a given "tag".   Job purge only happens, however,
-     * if there are no other JobInstance(s) "owned" by other "tag"(s).
-     * 
-     * It does not guarantee a consistent view of the job repository,
-     * so this method should only be issued when no jobs are being executed
-     * "owned by" this tag.   If this type of external synchronization is not
-     * used, the behavior is undefined.
-     * 
-     * @param tag A "tag" (or "app name", generically speaking).
-     */ 
-    public void purgeOwnedRepositoryData(String tag);
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSPIManager.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSPIManager.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSPIManager.java
deleted file mode 100755
index 561d70b..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSPIManager.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-import java.util.logging.Logger;
-
-public final class BatchSPIManager {
-
-	private final static String sourceClass = BatchSPIManager.class.getName();
-	private final static Logger logger = Logger.getLogger(sourceClass);
-
-	private BatchSPIManager() {}
-	
-	// Eager init OK.
-	private static final BatchSPIManager INSTANCE = new BatchSPIManager();
-
-	/**
-	 * @return singleton instance
-	 */
-	public static BatchSPIManager getInstance() {
-		return INSTANCE;
-	}
-
-	private BatchJobUtil batchJobUtil = null;
-	
-	private BatchSecurityHelper batchSecurityHelper = null;
-	
-	private ExecutorServiceProvider executorServiceProvider = null;
-
-	/**
-	 * @return The most recently set BatchJobUtil
-	 */
-	public BatchJobUtil getBatchJobUtil() {
-		return batchJobUtil;
-	}
-	
-	/**
-	 * @return The most recently set BatchSecurityHelper
-	 */
-	public BatchSecurityHelper getBatchSecurityHelper() {
-		return batchSecurityHelper;
-	}
-
-	/**
-	 * @return The most recently set ExecutorServiceProvider 
-	 */
-	public ExecutorServiceProvider getExecutorServiceProvider() {
-		return executorServiceProvider;
-	}
-
-	/**
-	 * May be called at any point and will be immediately reflected in the singleton,
-	 * i.e. getBatchJobUtil() will return this.
-	 * @param helper impl
-	 */
-	public void registerBatchJobUtil(BatchJobUtil helper) {
-		this.batchJobUtil = helper;
-	}
-	
-	/**
-	 * May be called at any point and will be immediately reflected in the singleton,
-	 * i.e. getBatchSecurityHelper() will return this.
-	 * @param helper impl
-	 */
-	public void registerBatchSecurityHelper(BatchSecurityHelper helper) {
-		this.batchSecurityHelper = helper;
-	}
-	
-	/**
-	 * May be called at any point and will be immediately reflected in the singleton,
-	 * i.e. getExecutorServiceProvider() will return this.
-	 * @param provider impl
-	 */
-	public void registerExecutorServiceProvider(ExecutorServiceProvider provider) {
-		this.executorServiceProvider = provider;
-	}
-	
-	private final byte[] databaseConfigurationCompleteLock = new byte[0];
-	private Boolean databaseConfigurationComplete = Boolean.FALSE;
-	
-    private DatabaseConfigurationBean dataBaseConfigurationBean = null;
-
-    /**
-     * This is not the method that the 352 RI will call to get the 
-     * final configuration, and lock off further updates.  This is just
-     * a normal getter which is more use while the configuration is still
-     * being set, before it is hardened.
-     * 
-     * @return the last-set DatabaseConfigurationBean
-     * 
-     * @see getFinalDatabaseConfiguration()
-     */
-	public DatabaseConfigurationBean getDataBaseConfigurationBean() {
-		return dataBaseConfigurationBean;
-	}
-
-	/**
-     * This only will have an impact if the batch container has not already hardened its
-     * persistent store database configuration.   There is no ability to dynamically update
-     * the configuration, so if this call comes in after the lazy initialization, it is too late.
-     * @param bean 
-     * @throws DatabaseAlreadyInitializedException If configuration has already been queried by the batch runtime. 
-     */
-	public void registerDatabaseConfigurationBean(DatabaseConfigurationBean bean) 
-			throws DatabaseAlreadyInitializedException { 
-		synchronized (databaseConfigurationCompleteLock) {
-			if (!databaseConfigurationComplete) {
-				this.dataBaseConfigurationBean = bean;
-			} else {
-				throw new DatabaseAlreadyInitializedException("Tried to set database configuration but it's too late, since configuration has already been hardened.");
-			}
-		}
-	}
-	
-	/**
-	 * Called by the core batch runtime at the point when it is ready to harden the database
-	 * configuration.
-	 * 
-	 * @return The batch runtime database configuration, if set, or <b>null</b> if not set.
-	 */
-	public DatabaseConfigurationBean getFinalDatabaseConfiguration() {
-		synchronized (databaseConfigurationCompleteLock) {
-			databaseConfigurationComplete = Boolean.TRUE;
-			return dataBaseConfigurationBean;
-		}
-	}
-	
-	/*  This is commented out so it doesn't trigger loading of ServicesManagerImpl.   It's included
-	 * as a comment to show that we have the capability in the services manager impl to support
-	 * getting feedback on whether the initialization has completed or not. 
-	 * 
-     * This method is not currently expected to be used by Glassfish, since it will 
-     * force a load of the rest of the batch runtime.  It has the virtue of throwing an 
-     * exception if initialization of the batch runtime database has already been performed,
-     * in which case the bean passed as input is ignored.
-     * @param bean 
-     
-	public void initalizeDatabaseConfigurationBean(DatabaseConfigurationBean bean) 
-			{
-		ServicesManagerImpl servicesMgr = ServicesManagerImpl.getInstance();
-		servicesMgr.initalizeDatabaseConfigurationBean(bean);
-	}
-	*/
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSecurityHelper.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSecurityHelper.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSecurityHelper.java
deleted file mode 100755
index fe19ccc..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/BatchSecurityHelper.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-/**
- * 
- * Implemented by the host environment to allow the 'jbatch' 352 RI to get 
- * the "current" tag (here a generalized term for something like the current
- * "application), and whether the tag is "admin"-authorized or not.
- *
- * @author skurz
- */
-public interface BatchSecurityHelper {
-	/**
-	 * @return The current "tag" (or "app name", generically speaking).
-	 */
-    public String getCurrentTag();
-    
-    /**
-     * @param tag A "tag" (or "app name", generically speaking).
-     * @return true if the "tag" is associated with an app recognized as 
-     *              authorized for administrator-level read permissions.
-     */
-    public boolean isAdmin(String tag);
-    
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseAlreadyInitializedException.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseAlreadyInitializedException.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseAlreadyInitializedException.java
deleted file mode 100755
index 315921c..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseAlreadyInitializedException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-public class DatabaseAlreadyInitializedException extends Exception {
-
-	public DatabaseAlreadyInitializedException() {
-		// TODO Auto-generated constructor stub
-	}
-
-	public DatabaseAlreadyInitializedException(String message) {
-		super(message);
-		// TODO Auto-generated constructor stub
-	}
-
-	public DatabaseAlreadyInitializedException(Throwable cause) {
-		super(cause);
-		// TODO Auto-generated constructor stub
-	}
-
-	public DatabaseAlreadyInitializedException(String message, Throwable cause) {
-		super(message, cause);
-		// TODO Auto-generated constructor stub
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseConfigurationBean.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseConfigurationBean.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseConfigurationBean.java
deleted file mode 100755
index b7c0307..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/DatabaseConfigurationBean.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-public class DatabaseConfigurationBean {
-	
-	protected String jndiName = "";
-	protected String jdbcDriver = "";
-	protected String dbUser = "";
-	protected String dbPassword = "";
-	protected String jdbcUrl = "";
-	protected String schema = "";
-	
-	public String getSchema() {
-		return this.schema;
-	}
-	
-	public void setSchema(String schema) {
-		this.schema = schema;
-	}
-	
-	public String getJndiName() {
-		return this.jndiName;
-	}
-
-	public String getJdbcDriver() {
-		return this.jdbcDriver;
-	}
-
-	public String getDbUser() {
-		return this.dbUser;
-	}
-
-	public String getDbPassword() {
-		return this.dbPassword;
-	}
-	
-	public void setJdbcDriver(String jdbcDriver) {
-		this.jdbcDriver = jdbcDriver;
-	}
-
-	public void setJndiName(String jndiName) {
-		this.jndiName = jndiName;
-	}
-	
-	public void setDbUser(String dbUser) {
-		this.dbUser = dbUser;
-	}
-	public String getJdbcUrl() {
-		return jdbcUrl;
-	}
-
-	public void setJdbcUrl(String jdbcUrl) {
-		this.jdbcUrl = jdbcUrl;
-	}
-
-	public void setDbPassword(String dbPassword) {
-		this.dbPassword = dbPassword;
-	}
-	
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/ExecutorServiceProvider.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/ExecutorServiceProvider.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/ExecutorServiceProvider.java
deleted file mode 100755
index 7a523f4..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/ExecutorServiceProvider.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-import java.util.concurrent.ExecutorService;
-
-/**
- * 
- * Provides an ExecutorService managed by the provider to the caller.
- */
-public interface ExecutorServiceProvider {
-	/**
-	 * @return ExecutorService
-	 */
-	public ExecutorService getExecutorService();
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/TaggedJobExecution.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/TaggedJobExecution.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/TaggedJobExecution.java
deleted file mode 100755
index a5469f5..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/TaggedJobExecution.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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 com.ibm.jbatch.spi;
-
-/**
- * SPI allowing getting of the "owning tag" associated with a JobExecution
- */
-public interface TaggedJobExecution {
-	/**
-	 * @return tag name associated with this object instance.
-	 */
-	public String getTagName();
-}

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.RI.SPI/src/com/ibm/jbatch/spi/package-info.java
----------------------------------------------------------------------
diff --git a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/package-info.java b/JSR352.RI.SPI/src/com/ibm/jbatch/spi/package-info.java
deleted file mode 100755
index 4e08db2..0000000
--- a/JSR352.RI.SPI/src/com/ibm/jbatch/spi/package-info.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2013 International Business Machines Corp.
- * 
- * See the NOTICE file distributed with this work for additional information
- * regarding copyright ownership. Licensed 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.
-*/
-/**
- * The SPIs in this package are generally involved with the 
- * interaction between the batch runtime and the host environment.
- * 
- * There are not a lot of SPIs altogether currently, so they are basically
- * all lumped together into one package.   They involve things like
- * allowing the host environment to configure the database and thread pool
- * used by the batch runtime.  Also things like the batch runtime getting
- * current "security context" from the host environment. 
- */
-package com.ibm.jbatch.spi;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/efa64877/JSR352.Runtime/.project
----------------------------------------------------------------------
diff --git a/JSR352.Runtime/.project b/JSR352.Runtime/.project
deleted file mode 100755
index eca4fff..0000000
--- a/JSR352.Runtime/.project
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>JSR352.Runtime</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.eclipse.wst.common.project.facet.core.builder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-		<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>
-		<buildCommand>
-			<name>org.eclipse.wst.validation.validationbuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
-		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
-		<nature>org.eclipse.jdt.core.javanature</nature>
-		<nature>org.eclipse.pde.PluginNature</nature>
-		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
-	</natures>
-</projectDescription>