@Configuration
@ImportResource(value={"classpath:corelib-db-context.xml","classpath:corelib-solr-context.xml","classpath:corelib-utils-context.xml","classpath:corelib-web-context.xml","classpath:spring-sugarcrmclient.xml"})
@EnableScheduling
@PropertySource(value="classpath:europeana.properties")
public class AppConfig
extends Object
| Constructor and Description |
|---|
AppConfig() |
| Modifier and Type | Method and Description |
|---|---|
ApiKeyUtils |
apiKeyUtils()
Setup utility for checking api key limits (connects to the PostgreSql database)
|
eu.europeana.features.ObjectStorageClient |
objectStorageClient()
The ObjectStorageClient allows access to our Storage Provider where thumbnails and sitemap files are stored
At the moment we use Amazon S3
|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
properties()
Read and setup europeana.properties files.
|
SugarCRMCache |
sugarCRMCache() |
SugarCRMImporter |
sugarCRMImporter()
The SugarCRMIMporter connects to sugarCRM to check if data on providers or datasets is changed
|
SugarCRMPollingScheduler |
sugarCRMPollingScheduler()
The SugarCRMPollingScheduler regularly invokes the SugarCRMImporter
|
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer properties()
@Bean public ApiKeyUtils apiKeyUtils()
@Bean public SugarCRMPollingScheduler sugarCRMPollingScheduler()
@Bean public SugarCRMImporter sugarCRMImporter()
@Bean public SugarCRMCache sugarCRMCache()
@Bean(name="api_object_storage_client") public eu.europeana.features.ObjectStorageClient objectStorageClient()
Copyright © 2017. All rights reserved.