I would suggest replacing the java.util.Properties
with a PropertiesConfiguration
from the Apache Commons Configuration project. It supports automatic reloading, either by detecting when the file changes, or by triggering through JMX.
More Related Contents:
- How to hot-reload properties in Java EE and Spring Boot?
- Autowired Environment is null
- How can I reload properties file in Spring 4 using annotations?
- Spring Boot Externalizing properties not working
- Spring Property Injection in a final attribute @Value – Java
- Is there a way to specify a default property value in Spring XML?
- Conditional spring bean creation
- @RequestParam vs @PathVariable
- What is the proper way to re-attach detached objects in Hibernate?
- How to use JNDI DataSource provided by Tomcat in Spring?
- Getting Spring Application Context
- Difference between @Valid and @Validated in Spring
- Configuring Spring Security 3.x to have multiple entry points
- Spring Boot Multiple Datasource
- After Spring Boot 2.0 migration: jdbcUrl is required with driverClassName
- Implement converters for entities with Java Generics
- Calling a @Bean annotated method in Spring java configuration
- No Dialect mapping for JDBC type: 1111
- Service layer and controller: who takes care of what?
- Configure active profile in SpringBoot via Maven
- How to change Spring’s @Scheduled fixedDelay at runtime?
- Redirect in Spring MVC
- Inject bean into enum
- How to get access to job parameters from ItemReader, in Spring Batch?
- Maven spring boot run debug with arguments
- With Java 7 Update 45, the System Properties no Longer Set from JNLP Tag “Property”
- Spring: define @RequestMapping value in a properties file
- Spring cron vs normal cron?
- The onFlushDirty Hibernate Interceptor method is never called
- Anyway to @Inject/@Autowire an inner class into an outer class?