Class FlatFileCustomerCreditDao

  • All Implemented Interfaces:
    CustomerCreditDao, org.springframework.beans.factory.DisposableBean

    public class FlatFileCustomerCreditDao
    extends java.lang.Object
    implements CustomerCreditDao, org.springframework.beans.factory.DisposableBean
    Writes customer's credit information in a file.
    Author:
    Robert Kasanicky
    See Also:
    CustomerCreditDao
    • Constructor Detail

      • FlatFileCustomerCreditDao

        public FlatFileCustomerCreditDao()
    • Method Detail

      • setSeparator

        public void setSeparator​(java.lang.String separator)
      • setItemWriter

        public void setItemWriter​(ItemWriter<java.lang.String> itemWriter)
      • open

        public void open​(ExecutionContext executionContext)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception