程序包 org.springframework.batch.sample.domain.trade.internal
类概要 类 说明 CommonsLoggingInvalidCustomerLogger CustomerCreditFieldSetMapper CustomerCreditIncreaseProcessor Increases customer's credit by a fixed amount.CustomerCreditItemWriter Delegates actual writing to a custom DAO.CustomerCreditRowMapper CustomerCreditUpdatePreparedStatementSetter CustomerCreditUpdateWriter CustomerDebitRowMapper CustomerUpdateWriter Transforms Trade to a CustomerDebit and asks DAO delegate to write the result.FlatFileCustomerCreditDao Writes customer's credit information in a file.GeneratingTradeItemReader Generates configurable number ofTrade
items.HibernateAwareCustomerCreditItemWriter Delegates writing to a custom DAO and flushes + clears hibernate session to fulfill theItemWriter
contract.HibernateCreditDao JdbcCustomerDao JdbcCustomerDebitDao Reduces customer's credit by the provided amount.JdbcTradeDao Writes a Trade object to a databaseTradeFieldSetMapper TradeProcessor Processes the Trade - throwing validation errors if necessary.TradeRowMapper TradeWriter Delegates the actual writing to custom DAO delegate.