/** * Exposes the provider for caches as a Spring bean. * * @return The provider instance. */ @Bean @Qualifier(TenantConstants.TENANT_ENDPOINT) @Scope("prototype") public CacheProvider tenantCacheProvider() { return newGuavaCache(tenantServiceClientConfig()); }
/** * Exposes the provider for caches as a Spring bean. * * @return The provider instance. */ @Bean @Qualifier(RegistrationConstants.REGISTRATION_ENDPOINT) @Scope("prototype") public CacheProvider registrationCacheProvider() { return newGuavaCache(registrationServiceClientConfig()); }
/** * Exposes the provider for caches as a Spring bean. * * @return The provider instance. */ @Bean @Qualifier(TenantConstants.TENANT_ENDPOINT) @Scope("prototype") public CacheProvider tenantCacheProvider() { return newGuavaCache(tenantServiceClientConfig()); }
/** * Exposes the provider for caches as a Spring bean. * * @return The provider instance. */ @Bean @Qualifier(RegistrationConstants.REGISTRATION_ENDPOINT) @Scope("prototype") public CacheProvider registrationCacheProvider() { return newGuavaCache(registrationServiceClientConfig()); }