org.velocityweb.context.impl
Class SimpleBatchJobAppContext

java.lang.Object
  extended byorg.velocityweb.context.AppContext
      extended byorg.velocityweb.context.BatchJobAppContext
          extended byorg.velocityweb.context.impl.SimpleBatchJobAppContext

public abstract class SimpleBatchJobAppContext
extends BatchJobAppContext

simple application context for batch job

Author:
Jacklondon Chen

Constructor Summary
SimpleBatchJobAppContext(java.lang.Object dataSource, int transactionIsolation, java.util.ResourceBundle resourceBundle, Controller controller)
          contructor
 
Methods inherited from class org.velocityweb.context.AppContext
closeConnection, commitAndClose, getBeginTime, getConnection, getController, getResourceBundle, getTransactionIsolation, rollbackAndClose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBatchJobAppContext

public SimpleBatchJobAppContext(java.lang.Object dataSource,
                                int transactionIsolation,
                                java.util.ResourceBundle resourceBundle,
                                Controller controller)
contructor

Parameters:
dataSource - data source, use ConnectionPoolDataSource will be better
transactionIsolation - transaction isolation level
resourceBundle - resource bundle