Class PropertyService

java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.service.PropertyService
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class PropertyService extends ServiceConfig
Property service class. Used to retrieve database application parameters and add them to environment
Author:
pgarcia on 12/06/2017.
  • Constructor Details

    • PropertyService

      public PropertyService(QueryService queryService, org.springframework.core.env.ConfigurableEnvironment configurableEnvironment, DatabaseConfigProperties databaseConfigProperties)
      Autowired constructor
      Parameters:
      queryService - Query service
      configurableEnvironment - Configurable environment
      databaseConfigProperties - Database configuration properties
  • Method Details

    • refreshDatabaseProperties

      public ServiceData refreshDatabaseProperties()
      Generate application properties
      Returns:
      Service data