Class AppConfigServiceImpl

  • All Implemented Interfaces:
    org.guvnor.common.services.shared.config.AppConfigService

    @ApplicationScoped
    public class AppConfigServiceImpl
    extends Object
    implements org.guvnor.common.services.shared.config.AppConfigService
    • Constructor Detail

      • AppConfigServiceImpl

        public AppConfigServiceImpl()
      • AppConfigServiceImpl

        @Inject
        public AppConfigServiceImpl​(@Any
                                    javax.enterprise.inject.Instance<org.guvnor.common.services.backend.preferences.ApplicationPreferencesLoader> preferencesLoaders,
                                    @Any
                                    javax.enterprise.inject.Instance<org.guvnor.common.services.backend.preferences.SystemPropertiesInitializer> systemPropertiesInitializers)
    • Method Detail

      • configureOnEvent

        public void configureOnEvent​(@Observes
                                     org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)
      • loadPreferences

        public Map<String,​String> loadPreferences()
        Specified by:
        loadPreferences in interface org.guvnor.common.services.shared.config.AppConfigService
      • getTimestamp

        public long getTimestamp()
        Specified by:
        getTimestamp in interface org.guvnor.common.services.shared.config.AppConfigService