com.ibm.jbatch.tck.artifacts.specialized
Class MyBatchletWithPropertiesImpl

java.lang.Object
  extended by javax.batch.api.AbstractBatchlet
      extended by com.ibm.jbatch.tck.artifacts.specialized.MyBatchletWithPropertiesImpl
All Implemented Interfaces:
Batchlet

@Named(value="myBatchletWithPropertiesImpl")
public class MyBatchletWithPropertiesImpl
extends AbstractBatchlet


Field Summary
 String batchletProp
           
static String GOOD_EXIT_CODE
           
 String myDefaultProp1
           
 String myProperty2
           
 String mySubmittedProp
           
 
Constructor Summary
MyBatchletWithPropertiesImpl()
           
 
Method Summary
 String process()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GOOD_EXIT_CODE

public static String GOOD_EXIT_CODE

myProperty2

@Inject
public String myProperty2

myDefaultProp1

@Inject
public String myDefaultProp1

mySubmittedProp

@Inject
public String mySubmittedProp

batchletProp

@Inject
public String batchletProp
Constructor Detail

MyBatchletWithPropertiesImpl

public MyBatchletWithPropertiesImpl()
Method Detail

process

public String process()
               throws Exception
Specified by:
process in interface Batchlet
Specified by:
process in class AbstractBatchlet
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Batchlet
Overrides:
stop in class AbstractBatchlet
Throws:
Exception


Copyright © 2013. All Rights Reserved.