Package com.ibm.jbatch.tck.artifacts.cdi
Class DependentScopedBatchletContexts
java.lang.Object
com.ibm.jbatch.tck.artifacts.cdi.DependentScopedBatchletContexts
- All Implemented Interfaces:
jakarta.batch.api.Batchlet
@Dependent
@Named("CDIDependentScopedBatchletContexts")
public class DependentScopedBatchletContexts
extends Object
implements jakarta.batch.api.Batchlet
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
process()
void
setMethod1
(jakarta.batch.runtime.context.JobContext jm) void
setMethod2
(jakarta.batch.runtime.context.StepContext sm) void
stop()
-
Method Details
-
setMethod1
@Inject public void setMethod1(jakarta.batch.runtime.context.JobContext jm) -
setMethod2
@Inject public void setMethod2(jakarta.batch.runtime.context.StepContext sm) -
process
- Specified by:
process
in interfacejakarta.batch.api.Batchlet
- Throws:
Exception
-
stop
- Specified by:
stop
in interfacejakarta.batch.api.Batchlet
- Throws:
Exception
-
getPropertyAsString
- Throws:
Exception
-