Class EnableContextSupportConfiguration
java.lang.Object
com.cumulocity.microservice.context.annotation.EnableContextSupportConfiguration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.config.CustomScopeConfigurer
contextScopeConfigurer
(ContextService<MicroserviceCredentials> microserviceContextService, ContextService<UserCredentials> userContextService, Long cacheExpirationTimeout) org.springframework.context.support.PropertySourcesPlaceholderConfigurer
-
Field Details
-
USER_SCOPE
- See Also:
-
TENANT_SCOPE
- See Also:
-
-
Constructor Details
-
EnableContextSupportConfiguration
public EnableContextSupportConfiguration()
-
-
Method Details
-
credentialsContextService
-
microserviceContextService
-
userContextService
-
propertySourcesPlaceholderConfigurer
@Bean public org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() -
contextScopeConfigurer
@Bean public org.springframework.beans.factory.config.CustomScopeConfigurer contextScopeConfigurer(ContextService<MicroserviceCredentials> microserviceContextService, ContextService<UserCredentials> userContextService, @Value("${tenantCacheExpirationTimeout:300000}") Long cacheExpirationTimeout)
-