BATCHEE-115 implemented portable Job/StepContext
authorReinhard Sandtner <rsandtner@apache.org>
Fri, 13 Jan 2017 10:24:41 +0000 (11:24 +0100)
committerReinhard Sandtner <rsandtner@apache.org>
Fri, 13 Jan 2017 10:24:41 +0000 (11:24 +0100)
commitf2136adfc587d12d15a639c1290899d7672765e5
tree295d34f5de56a902532651e1cf968cb1e04bd0dd
parent2be8d22fa8aebf65af00acce05b3c929aef73501
BATCHEE-115 implemented portable Job/StepContext
15 files changed:
extensions/cdi/pom.xml
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/BaseContext.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/BatchEEScopeExtension.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/ContextResolver.java [new file with mode: 0644]
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/DynamicContextResolver.java [new file with mode: 0644]
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/JobContextImpl.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/StepContextImpl.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/impl/ThreadLocalContextResolver.java [new file with mode: 0644]
extensions/cdi/src/main/java/org/apache/batchee/cdi/listener/AfterStepScopeListener.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/listener/BeforeJobScopeListener.java
extensions/cdi/src/main/java/org/apache/batchee/cdi/listener/BeforeStepScopeListener.java
extensions/cdi/src/test/java/org/apache/batchee/cdi/BatchScopesTest.java
extensions/cdi/src/test/java/org/apache/batchee/cdi/partitioned/PartitionedStepScopedReader.java [new file with mode: 0644]
extensions/cdi/src/test/resources/META-INF/batch-jobs/partitioned-step-scoped.xml [new file with mode: 0644]
extensions/cdi/src/test/resources/batchee.properties