Skip to content
Permalink
Browse files
BATCHEE-125 add FIELD, METHOD to scope annotations
  • Loading branch information
elexx authored and struberg committed Nov 21, 2017
1 parent 9e869b6 commit 563769a1d106344fae9be7e7d52751cbf93db5d2
Showing 2 changed files with 6 additions and 2 deletions.
@@ -20,10 +20,12 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.TYPE;

@Target(TYPE)
@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@NormalScope
public @interface JobScoped {
@@ -20,10 +20,12 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(TYPE)
@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@NormalScope
public @interface StepScoped {

0 comments on commit 563769a

Please sign in to comment.