ReloadablePropertiesAnnotation icon indicating copy to clipboard operation
ReloadablePropertiesAnnotation copied to clipboard

Dynamic property configurations reload during runtime utilising Java 7 WatchService API, Google Guava and Spring 3.2.5

Results 9 ReloadablePropertiesAnnotation issues
Sort by recently updated
recently updated
newest added

This should be delivered as a maven dependency, and a input in the java config, not dozen of beans that must be configured to work..

Can't figure out the exception while starting the server after making these configurations Any ideas/suggestions? org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reloadablePropertyPostProcessor' defined in file [/Users/xxxxx/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/spring3-mvc-maven-xml-hello-world/WEB-INF/classes/com/demo/design/properties/internal/ReloadablePropertyPostProcessor.class]: Unsatisfied dependency expressed through...

- Test on Spring 4 - Investigate other features which may be useful from Spring 4

enhancement

Hi James, Rather than implementing your own TypeConversion and hence adding dependencies onto Joda you should be able to hook into ConfigurableBeanFactory.getTypeConverter() (within your ReloadablePropertyPostProcessor - making it BeanFactoryAware) and...

How is this supposed to work in multithreaded applications? If you update your property from property watcher thread, there is no guarantee that this update will be visible for any...

Results : Failed tests: testModifyingADifferentResoruceInSameDirectory(com.morgan.design.properties.internal.PropertiesWatcherUnitTest): actual resource is null Tests run: 39, Failures: 1, Errors: 0, Skipped: 0 as i've found the problem goes from logback stdout in debug mode....

In class PropertiesWatcher method pathMatchResources does not always work. indeed it uses Path.getFileName().toString() method to compare with resource. But toString method does not always returns file name as expected, depending...

in ReadablePropertySourcesPlaceholderConfigurer only setLocations method is overrided, simply add the following to have setLocation working aswell, if not you, will get a NullPointerException when starting PropertiesWatcher task. ``` java @Override...