Package com.ibm.jbatch.tck.artifacts.cdi
Class DependentScopedBatchletRepeatProps
- java.lang.Object
-
- com.ibm.jbatch.tck.artifacts.cdi.DependentScopedBatchletRepeatProps
-
- All Implemented Interfaces:
jakarta.batch.api.Batchlet
@Dependent @Named("CDIDependentScopedBatchletRepeatProps") public class DependentScopedBatchletRepeatProps extends Object implements jakarta.batch.api.Batchlet
Prove that a single batch property can be injected multiple times, in multiple ways (field vs method parm etc.)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getPropertyAsString(Properties prop)
String
process()
void
setMethod1(String m1, String m2)
void
setMethod2(String m3)
void
setMethod2(String m4, String m5, String m6)
void
stop()
-
-
-
Method Detail
-
setMethod2
@Inject public void setMethod2(String m3)
-
process
public String process() throws Exception
- Specified by:
process
in interfacejakarta.batch.api.Batchlet
- Throws:
Exception
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfacejakarta.batch.api.Batchlet
- Throws:
Exception
-
getPropertyAsString
public static String getPropertyAsString(Properties prop) throws Exception
- Throws:
Exception
-
-