org.velocityweb.context
Class BatchJobAppContext

java.lang.Object
  extended byorg.velocityweb.context.AppContext
      extended byorg.velocityweb.context.BatchJobAppContext
Direct Known Subclasses:
SimpleBatchJobAppContext

public class BatchJobAppContext
extends AppContext

Applicatin context for background task

Author:
Jacklondon Chen

Constructor Summary
BatchJobAppContext(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

BatchJobAppContext

public BatchJobAppContext(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