Package com.ibm.jbatch.tck.artifacts.cdi
Class DependentScopedBatchletProps
- java.lang.Object
-
- com.ibm.jbatch.tck.artifacts.cdi.DependentScopedBatchletProps
-
- All Implemented Interfaces:
jakarta.batch.api.Batchlet
@Dependent @Named("CDIDependentScopedBatchletProps") public class DependentScopedBatchletProps extends Object implements jakarta.batch.api.Batchlet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetPropertyAsString(Properties prop)Stringprocess()voidsetMethod1(String method1)voidsetMethod2(String m2)voidstop()
-
-
-
Method Detail
-
setMethod1
@Inject public void setMethod1(String method1)
-
setMethod2
@Inject public void setMethod2(String m2)
-
process
public String process() throws Exception
- Specified by:
processin interfacejakarta.batch.api.Batchlet- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfacejakarta.batch.api.Batchlet- Throws:
Exception
-
getPropertyAsString
public static String getPropertyAsString(Properties prop) throws Exception
- Throws:
Exception
-
-