Refine search
@Inject CloudStackContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, ComputeService computeService, Utils utils, CloudStackClient client, org.jclouds.rest.RestContext<CloudStackDomainClient, CloudStackDomainAsyncClient> domainContext, org.jclouds.rest.RestContext<CloudStackGlobalClient, CloudStackGlobalAsyncClient> globalContext) { super(backend, backendType, computeService, utils); this.client = client; this.domainContext = domainContext; this.globalContext = globalContext; }
@Inject public AWSS3BlobStoreContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, BlobMap.Factory blobMapFactory, Utils utils, ConsistencyModel consistencyModel, InputStreamMap.Factory inputStreamMapFactory, AsyncBlobStore ablobStore, BlobStore blobStore, BlobRequestSigner blobRequestSigner) { super(backend, backendType, blobMapFactory, utils, consistencyModel, inputStreamMapFactory, ablobStore, blobStore, blobRequestSigner); }
@Inject public S3BlobStoreContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, BlobMap.Factory blobMapFactory, Utils utils, ConsistencyModel consistencyModel, InputStreamMap.Factory inputStreamMapFactory, AsyncBlobStore ablobStore, BlobStore blobStore, BlobRequestSigner blobRequestSigner) { super(backend, backendType, blobMapFactory, utils, consistencyModel, inputStreamMapFactory, ablobStore, blobStore, blobRequestSigner); }
@Inject public LoadBalancerServiceContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, LoadBalancerService loadBalancerService, Utils utils) { super(backend, backendType); this.utils = utils; this.loadBalancerService = checkNotNull(loadBalancerService, "loadBalancerService"); }
@Inject public ComputeServiceContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, ComputeService computeService, Utils utils) { super(backend, backendType); this.computeService = checkNotNull(computeService, "computeService"); this.utils = checkNotNull(utils, "utils"); }
@Inject public LocalBlobRequestSigner(BasicAuthentication basicAuth, BlobToHttpGetOptions blob2HttpGetOptions, @Provider Supplier<URI> endpoint, ContentMetadataCodec contentMetadataCodec) { this.basicAuth = checkNotNull(basicAuth, "basicAuth"); this.blob2HttpGetOptions = checkNotNull(blob2HttpGetOptions, "blob2HttpGetOptions"); this.endpoint = endpoint; this.contentMetadataCodec = contentMetadataCodec; }
@Inject public LocationIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config, @Provider Supplier<URI> providerURI, @Assisted Supplier<Set<String>> locationIds, @Assisted String configPrefix) { this.config = config; this.locationIds = locationIds; this.providerURI = providerURI; this.configPrefix = configPrefix; }
@Inject public BlobStoreContextImpl(@Provider Context backend, @Provider TypeToken<? extends Context> backendType, Utils utils, ConsistencyModel consistencyModel, BlobStore blobStore, BlobRequestSigner blobRequestSigner) { super(backend, backendType); this.consistencyModel = checkNotNull(consistencyModel, "consistencyModel"); this.blobStore = checkNotNull(blobStore, "blobStore"); this.utils = checkNotNull(utils, "utils"); this.blobRequestSigner = checkNotNull(blobRequestSigner, "blobRequestSigner"); }
@Inject public LocationIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config, @Provider Supplier<URI> providerURI, @Assisted Supplier<Set<String>> locationIds, @Assisted String configPrefix) { this.config = config; this.locationIds = locationIds; this.providerURI = providerURI; this.configPrefix = configPrefix; }
@Inject public LocalBlobRequestSigner(BasicAuthentication basicAuth, BlobToHttpGetOptions blob2HttpGetOptions, @Provider Supplier<URI> endpoint, ContentMetadataCodec contentMetadataCodec) { this.basicAuth = checkNotNull(basicAuth, "basicAuth"); this.blob2HttpGetOptions = checkNotNull(blob2HttpGetOptions, "blob2HttpGetOptions"); this.endpoint = endpoint; this.contentMetadataCodec = contentMetadataCodec; }
@Inject JWTBearerTokenFlow(AuthorizeToken loader, @Named(PROPERTY_SESSION_INTERVAL) long tokenDuration, @Provider Supplier<Credentials> credentialsSupplier, OAuthConfigFactory oauthConfigFactory) { this.credentialsSupplier = credentialsSupplier; this.oauthConfigFactory = oauthConfigFactory; // since the session interval is also the token expiration time requested to the server make the token expire a // bit before the deadline to make sure there aren't session expiration exceptions long cacheExpirationSeconds = tokenDuration > 30 ? tokenDuration - 30 : tokenDuration; this.tokenCache = CacheBuilder.newBuilder().expireAfterWrite(cacheExpirationSeconds, SECONDS).build(loader); }
@Inject public JustProvider(@Provider String providerName, @Provider Supplier<URI> endpointSupplier, @Iso3166 Set<String> isoCodesSupplier) { this.providerName = checkNotNull(providerName, "providerName"); this.endpointSupplier = checkNotNull(endpointSupplier, "endpoint"); this.isoCodesSupplier = checkNotNull(isoCodesSupplier, "isoCodes"); }
@Inject public RegionToEndpointOrProviderIfNull(@Provider String defaultProvider, @Provider Supplier<URI> defaultUri, @Region Supplier<Map<String, Supplier<URI>>> regionToEndpointSupplier) { this.defaultProvider = checkNotNull(defaultProvider, "defaultProvider"); this.defaultUri = checkNotNull(defaultUri, "defaultUri"); this.regionToEndpointSupplier = checkNotNull(regionToEndpointSupplier, "regionToEndpointSupplier"); }
@Inject public RegionToEndpointOrProviderIfNull(@Provider String defaultProvider, @Provider Supplier<URI> defaultUri, @Region Supplier<Map<String, Supplier<URI>>> regionToEndpointSupplier) { this.defaultProvider = checkNotNull(defaultProvider, "defaultProvider"); this.defaultUri = checkNotNull(defaultUri, "defaultUri"); this.regionToEndpointSupplier = checkNotNull(regionToEndpointSupplier, "regionToEndpointSupplier"); }
@Inject public JustProvider(@Provider String providerName, @Provider Supplier<URI> endpointSupplier, @Iso3166 Set<String> isoCodesSupplier) { this.providerName = checkNotNull(providerName, "providerName"); this.endpointSupplier = checkNotNull(endpointSupplier, "endpoint"); this.isoCodesSupplier = checkNotNull(isoCodesSupplier, "isoCodes"); }