Class SequenceServiceImpl

java.lang.Object
org.training.sequence.generator.service.implementation.SequenceServiceImpl
All Implemented Interfaces:
SequenceService

@Service public class SequenceServiceImpl extends Object implements SequenceService
  • Constructor Details

    • SequenceServiceImpl

      public SequenceServiceImpl()
  • Method Details

    • create

      public Sequence create()
      Create a new account number.
      Specified by:
      create in interface SequenceService
      Returns:
      The newly created account number.