@Inject public BaseReservationHandler( DateCodecFactory dateCodecFactory, @Region Supplier<String> defaultRegion, Provider<RunningInstance.Builder> builderProvider) { this.dateCodec = dateCodecFactory.iso8601(); this.defaultRegion = defaultRegion; this.builderProvider = builderProvider; this.builder = builderProvider.get(); }
@Inject protected CreateVolumeResponseHandler( DateCodecFactory dateCodecFactory, @Region Supplier<String> defaultRegion, @Zone Supplier<Map<String, Supplier<Set<String>>>> regionToZonesSupplier, @Zone Supplier<Set<String>> zonesSupplier) { this.dateCodec = dateCodecFactory.iso8601(); this.defaultRegion = defaultRegion; this.regionToZonesSupplier = regionToZonesSupplier; this.zonesSupplier = zonesSupplier; }
@Inject BaseStorageResponseHandler(DateCodecFactory dateCodec) { this.dateCodec = dateCodec.iso8601(); this.builder = Storage.builder(); this.serverIds = Lists.newArrayList(); }