geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1521825 [1/2] - in /geronimo/specs/trunk: ./ geronimo-jbatch_1.0_spec/ geronimo-jbatch_1.0_spec/src/ geronimo-jbatch_1.0_spec/src/main/ geronimo-jbatch_1.0_spec/src/main/java/ geronimo-jbatch_1.0_spec/src/main/java/javax/ geronimo-jbatch_1...
Date Wed, 11 Sep 2013 13:21:08 GMT
Author: rmannibucau
Date: Wed Sep 11 13:21:06 2013
New Revision: 1521825

URL: http://svn.apache.org/r1521825
Log:
GERONIMO-6489 adding jbatch API

Added:
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/LICENSE
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/NOTICE
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/pom.xml
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/AbstractBatchlet.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/BatchProperty.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Batchlet.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Decider.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractCheckpointAlgorithm.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemReader.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemWriter.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/CheckpointAlgorithm.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemProcessor.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemReader.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemWriter.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractChunkListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemProcessListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemReadListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ChunkListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemProcessListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemReadListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemWriteListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryProcessListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryReadListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryWriteListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipProcessListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipReadListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipWriteListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractJobListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractStepListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/JobListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/StepListener.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionAnalyzer.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionReducer.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionAnalyzer.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionCollector.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionMapper.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionPlan.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionReducer.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/BatchRuntimeException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionAlreadyCompleteException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionIsRunningException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionNotMostRecentException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionNotRunningException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobOperator.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobRestartException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobSecurityException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobStartException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/NoSuchJobException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/NoSuchJobExecutionException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/NoSuchJobInstanceException.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/BatchRuntime.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/BatchStatus.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/JobExecution.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/JobInstance.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/Metric.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/StepExecution.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/context/
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/context/JobContext.java
    geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/runtime/context/StepContext.java
Modified:
    geronimo/specs/trunk/pom.xml

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/LICENSE
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/LICENSE?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/LICENSE (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/LICENSE Wed Sep 11 13:21:06 2013
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   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.
+

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/NOTICE
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/NOTICE?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/NOTICE (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/NOTICE Wed Sep 11 13:21:06 2013
@@ -0,0 +1,6 @@
+Apache Geronimo JSR-352 JBatch API
+Copyright 2009,2011 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/pom.xml?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/pom.xml (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/pom.xml Wed Sep 11 13:21:06 2013
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<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>
+
+  <parent>
+    <groupId>org.apache.geronimo.genesis</groupId>
+    <artifactId>genesis-java5-flava</artifactId>
+    <version>2.0</version>
+  </parent>
+
+  <groupId>org.apache.geronimo.specs</groupId>
+  <artifactId>geronimo-jbatch_1.0_spec</artifactId>
+  <packaging>bundle</packaging>
+  <name>Apache Geronimo JBatch Spec 1.0</name>
+  <version>1.0-SNAPSHOT</version>
+
+  <description>Apache Geronimo implementation of the JSR-352</description>
+  <url>http://geronimo.apache.org/maven/${siteId}/${project.version}</url>
+
+  <distributionManagement>
+    <site>
+      <id>apache-website</id>
+      <url>${site.deploy.url}/maven/${siteId}/${project.version}</url>
+    </site>
+  </distributionManagement>
+
+  <properties>
+    <siteId>specs/${project.artifactId}</siteId>
+  </properties>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/</url>
+  </scm>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jcdi_1.0_spec</artifactId>
+      <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-atinject_1.0_spec</artifactId>
+      <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Export-Package>javax.batch*;version=1.0</Export-Package>
+            <Import-Package>
+              javax.inject;resolution:=optional,
+              javax.enterprise.util;resolution:=optional
+            </Import-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.1</version>
+        <configuration>
+          <target>1.6</target>
+          <source>1.6</source>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/AbstractBatchlet.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/AbstractBatchlet.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/AbstractBatchlet.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/AbstractBatchlet.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api;
+
+public abstract class AbstractBatchlet implements Batchlet {
+    @Override
+    public abstract String process() throws Exception;
+
+    @Override
+    public void stop() throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/BatchProperty.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/BatchProperty.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/BatchProperty.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/BatchProperty.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api;
+
+import javax.enterprise.util.Nonbinding;
+import javax.inject.Qualifier;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Qualifier
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER })
+public @interface BatchProperty {
+    @Nonbinding String name() default "";
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Batchlet.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Batchlet.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Batchlet.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Batchlet.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api;
+
+public interface Batchlet {
+    String process() throws Exception;
+
+    void stop() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Decider.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Decider.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Decider.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/Decider.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api;
+
+import javax.batch.runtime.StepExecution;
+
+public interface Decider {
+    String decide(StepExecution[] executions) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractCheckpointAlgorithm.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractCheckpointAlgorithm.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractCheckpointAlgorithm.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractCheckpointAlgorithm.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+public abstract class AbstractCheckpointAlgorithm implements CheckpointAlgorithm {
+    @Override
+    public int checkpointTimeout() throws Exception {
+        return 0;
+    }
+
+    @Override
+    public void beginCheckpoint() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public abstract boolean isReadyToCheckpoint() throws Exception;
+
+    @Override
+    public void endCheckpoint() throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemReader.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemReader.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemReader.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemReader.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+import java.io.Serializable;
+
+public abstract class AbstractItemReader implements ItemReader {
+    @Override
+    public void open(final Serializable checkpoint) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void close() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public abstract Object readItem() throws Exception;
+
+    @Override
+    public Serializable checkpointInfo() throws Exception {
+        return null;
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemWriter.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemWriter.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemWriter.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/AbstractItemWriter.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+import java.io.Serializable;
+import java.util.List;
+
+public abstract class AbstractItemWriter implements ItemWriter {
+    @Override
+    public void open(final Serializable checkpoint) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void close() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public abstract void writeItems(final List<Object> items) throws Exception;
+
+    @Override
+    public Serializable checkpointInfo() throws Exception {
+        return null;
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/CheckpointAlgorithm.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/CheckpointAlgorithm.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/CheckpointAlgorithm.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/CheckpointAlgorithm.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+public interface CheckpointAlgorithm {
+    int checkpointTimeout() throws Exception;
+
+    void beginCheckpoint() throws Exception;
+
+    boolean isReadyToCheckpoint() throws Exception;
+
+    void endCheckpoint() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemProcessor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemProcessor.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemProcessor.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemProcessor.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+public interface ItemProcessor {
+    Object processItem(Object item) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemReader.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemReader.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemReader.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemReader.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+import java.io.Serializable;
+
+public interface ItemReader {
+    void open(Serializable checkpoint) throws Exception;
+
+    void close() throws Exception;
+
+    Object readItem() throws Exception;
+
+    Serializable checkpointInfo() throws Exception;
+
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemWriter.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemWriter.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemWriter.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/ItemWriter.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk;
+
+import java.io.Serializable;
+import java.util.List;
+
+public interface ItemWriter {
+    public void open(Serializable checkpoint) throws Exception;
+
+    public void close() throws Exception;
+
+    public void writeItems(List<Object> items) throws Exception;
+
+    public Serializable checkpointInfo() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractChunkListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractChunkListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractChunkListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractChunkListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public abstract class AbstractChunkListener implements ChunkListener {
+	@Override
+	public void beforeChunk() throws Exception {
+        // no-op
+    }
+
+	@Override
+	public void onError(final Exception ex) throws Exception {
+        // no-op
+    }
+
+	@Override
+	public void afterChunk() throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemProcessListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemProcessListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemProcessListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemProcessListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public abstract class AbstractItemProcessListener implements ItemProcessListener {
+    @Override
+    public void beforeProcess(final Object item) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void afterProcess(final Object item, final Object result) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void onProcessError(final Object item, final Exception ex) throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemReadListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemReadListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemReadListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemReadListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public abstract class AbstractItemReadListener implements ItemReadListener {
+	@Override
+	public void beforeRead() throws Exception {
+        //no-op
+    }
+
+	@Override
+	public void afterRead(final Object item) throws Exception {
+        // no-op
+    }
+
+	@Override
+	public void onReadError(final Exception ex) throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+import java.util.List;
+
+public abstract class AbstractItemWriteListener implements ItemWriteListener {
+	@Override
+	public void beforeWrite(final List<Object> items) throws Exception {
+        // no-op
+    }
+
+	@Override
+	public void afterWrite(final List<Object> items) throws Exception {
+        // no-op
+    }
+
+	@Override
+	public void onWriteError(final List<Object> items, final Exception ex) throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ChunkListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ChunkListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ChunkListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ChunkListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface ChunkListener {
+	void beforeChunk() throws Exception;
+	void onError(Exception ex) throws Exception;
+	void afterChunk() throws Exception;
+
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemProcessListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemProcessListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemProcessListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemProcessListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface ItemProcessListener {
+	void beforeProcess(Object item) throws Exception;
+	void afterProcess(Object item, Object result) throws Exception;
+	void onProcessError(Object item, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemReadListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemReadListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemReadListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemReadListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface ItemReadListener {
+	void beforeRead() throws Exception;
+	void afterRead(Object item) throws Exception;
+	void onReadError(Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemWriteListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemWriteListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemWriteListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/ItemWriteListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+import java.util.List;
+
+public interface ItemWriteListener {
+	void beforeWrite(List<Object> items) throws Exception;
+	void afterWrite(List<Object> items) throws Exception;
+	void onWriteError(List<Object> items, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryProcessListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryProcessListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryProcessListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryProcessListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface RetryProcessListener {
+	void onRetryProcessException(Object item, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryReadListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryReadListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryReadListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryReadListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface RetryReadListener {
+	void onRetryReadException(Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryWriteListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryWriteListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryWriteListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/RetryWriteListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+import java.util.List;
+
+public interface RetryWriteListener {
+    void onRetryWriteException(List<Object> items, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipProcessListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipProcessListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipProcessListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipProcessListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface SkipProcessListener {
+    void onSkipProcessItem(Object item, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipReadListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipReadListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipReadListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipReadListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+public interface SkipReadListener {
+    void onSkipReadItem(Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipWriteListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipWriteListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipWriteListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/chunk/listener/SkipWriteListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.chunk.listener;
+
+import java.util.List;
+
+public interface SkipWriteListener {
+    void onSkipWriteItem(List<Object> items, Exception ex) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractJobListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractJobListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractJobListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractJobListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.listener;
+
+public abstract class AbstractJobListener implements JobListener {
+    @Override
+    public void beforeJob() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void afterJob() throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractStepListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractStepListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractStepListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/AbstractStepListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.listener;
+
+public abstract class AbstractStepListener implements StepListener {
+    @Override
+    public void beforeStep() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void afterStep() throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/JobListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/JobListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/JobListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/JobListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.listener;
+
+public interface JobListener {
+    void beforeJob() throws Exception;
+
+    void afterJob() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/StepListener.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/StepListener.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/StepListener.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/listener/StepListener.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.listener;
+
+public interface StepListener {
+    public void beforeStep() throws Exception;
+
+    public void afterStep() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionAnalyzer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionAnalyzer.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionAnalyzer.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionAnalyzer.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+import javax.batch.runtime.BatchStatus;
+import java.io.Serializable;
+
+public abstract class AbstractPartitionAnalyzer implements PartitionAnalyzer {
+    @Override
+    public void analyzeCollectorData(Serializable data) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void analyzeStatus(BatchStatus batchStatus, String exitStatus) throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionReducer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionReducer.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionReducer.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/AbstractPartitionReducer.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+public abstract class AbstractPartitionReducer implements PartitionReducer {
+    @Override
+    public void beginPartitionedStep() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void beforePartitionedStepCompletion() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void rollbackPartitionedStep() throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void afterPartitionedStepCompletion(final PartitionStatus status) throws Exception {
+        // no-op
+    }
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionAnalyzer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionAnalyzer.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionAnalyzer.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionAnalyzer.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+import javax.batch.runtime.BatchStatus;
+import java.io.Serializable;
+
+public interface PartitionAnalyzer {
+    void analyzeCollectorData(Serializable data) throws Exception;
+
+    void analyzeStatus(BatchStatus batchStatus, String exitStatus) throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionCollector.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionCollector.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionCollector.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionCollector.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+import java.io.Serializable;
+
+public interface PartitionCollector {
+    Serializable collectPartitionData() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionMapper.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionMapper.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionMapper.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionMapper.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+public interface PartitionMapper {
+    PartitionPlan mapPartitions() throws Exception;
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionPlan.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionPlan.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionPlan.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionPlan.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+import java.util.Properties;
+
+public interface PartitionPlan {
+    public void setPartitions(int count);
+
+    public void setPartitionsOverride(boolean override);
+
+    public boolean getPartitionsOverride();
+
+    public void setThreads(int count);
+
+    public void setPartitionProperties(Properties[] props);
+
+    public int getPartitions();
+
+    public int getThreads();
+
+    public Properties[] getPartitionProperties();
+}

Added: geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionReducer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionReducer.java?rev=1521825&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionReducer.java (added)
+++ geronimo/specs/trunk/geronimo-jbatch_1.0_spec/src/main/java/javax/batch/api/partition/PartitionReducer.java Wed Sep 11 13:21:06 2013
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.batch.api.partition;
+
+public interface PartitionReducer {
+    enum PartitionStatus { COMMIT, ROLLBACK }
+
+    void beginPartitionedStep() throws Exception;
+
+    void beforePartitionedStepCompletion() throws Exception;
+
+    void rollbackPartitionedStep() throws Exception;
+
+    void afterPartitionedStepCompletion(PartitionStatus status) throws Exception;
+}



Mime
View raw message