com.ubikingenierie.console.apiconsole.jms
Class BaseJmsBatch

java.lang.Object
  extended by salto.batch.lanceur.thread.Traitement
      extended by com.ubikingenierie.console.apiconsole.BaseBatch
          extended by com.ubikingenierie.console.apiconsole.jms.BaseJmsBatch
All Implemented Interfaces:
java.lang.Cloneable

public abstract class BaseJmsBatch
extends BaseBatch

Base batch for JMS batches.

Since:
5.0.1.0
Author:
Philippe Mouawad

Field Summary
 
Fields inherited from class salto.batch.lanceur.thread.Traitement
batchAppender
 
Constructor Summary
BaseJmsBatch()
           
 
Method Summary
protected abstract  void executeOnBlock(IJmsMessageHolder[] data)
          Method to implement to handle Objects extracted from JMS Destinations
protected  void executeOnBlock(java.lang.Object[] data)
          Implement this method to execute the business code on the Block of data
 
Methods inherited from class com.ubikingenierie.console.apiconsole.BaseBatch
canExec, childClone, createConfiguration, exec, executeAfterDataEnd, executeBeforeData, finalizeBatch, initialize, postExec, preExec
 
Methods inherited from class salto.batch.lanceur.thread.Traitement
clone, execute, getBatchExecutionContext, getBatchParameters, getBatchPhysicalsFileNames, setBatchAppender, setReturnStatus, vetoExecution
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseJmsBatch

public BaseJmsBatch()
Method Detail

executeOnBlock

protected final void executeOnBlock(java.lang.Object[] data)
                             throws java.lang.Exception
Description copied from class: BaseBatch
Implement this method to execute the business code on the Block of data

Specified by:
executeOnBlock in class BaseBatch
Parameters:
data - Object[] Array of Data as specified by IBatchStart
Throws:
java.lang.Exception
See Also:
BaseBatch.executeOnBlock(java.lang.Object[])

executeOnBlock

protected abstract void executeOnBlock(IJmsMessageHolder[] data)
                                throws java.lang.Exception
Method to implement to handle Objects extracted from JMS Destinations

Parameters:
data - IJmsMessageHolder[]
Throws:
java.lang.Exception


Copyright © 2005-2008 Ubik-Ingenierie. All Rights Reserved.