Class TransportUnitCommandHandler


  • @Validated
    @TxService
    class TransportUnitCommandHandler
    extends Object
    A TransportUnitCommandHandler is just a handler or an adapter implementation that is used by a listener and passes incoming TUCommands to the internal ApplicationContext.
    Author:
    Heiko Scherrer
    See Also:
    TUCommand
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • mapper

        private final org.ameba.mapping.BeanMapper mapper
      • validator

        private final javax.validation.Validator validator
      • ctx

        private final org.springframework.context.ApplicationContext ctx
    • Constructor Detail

      • TransportUnitCommandHandler

        TransportUnitCommandHandler​(org.ameba.mapping.BeanMapper mapper,
                                    javax.validation.Validator validator,
                                    BarcodeGenerator generator,
                                    TransportUnitService service,
                                    org.springframework.context.ApplicationContext ctx)
    • Method Detail

      • handle

        public void handle​(TUCommand command)