Java源码示例:com.ewolff.microservice.shipping.ShipmentService
示例1
@Autowired
public ShippingPoller(@Value("${order.url}") String url, @Value("${poller.actived:true}") boolean pollingActivated,
ShipmentService shipmentService) {
super();
this.url = url;
this.shipmentService = shipmentService;
this.pollingActivated = pollingActivated;
}
示例2
@Autowired
public ShippingPoller(@Value("${order.url}") String url, @Value("${poller.actived:true}") boolean pollingActivated,
ShipmentRepository shippingRepository, ShipmentService shipmentService) {
super();
this.url = url;
this.shippingRepository = shippingRepository;
this.shipmentService = shipmentService;
this.pollingActivated = pollingActivated;
}
示例3
public OrderKafkaListener(ShipmentService shipmentService) {
super();
this.shipmentService = shipmentService;
}