SuccessChanges

Summary

  1. Refactor #384 (details)
Commit 7183da60b6c3797398508fd01e3844ab22fd9a63 by jmesnil
Refactor #384
Update the onAttributeChange method to return a ChangeSupport class that
can be used to handle release of resources (in the close method).
When a Config is released, it should call ChangeSupport.close to ensure
that the ConfigSource has a chance to properly release any resources
held by the callbacks.
* Add TCK test ConfigAccessorTest#testOnAttributeChange
Signed-off-by: Jeff Mesnil <jmesnil@gmail.com>
The file was modifiedtck/src/main/java/org/eclipse/microprofile/config/tck/ConfigAccessorTest.java (diff)
The file was modifiedtck/src/main/java/org/eclipse/microprofile/config/tck/configsources/ConfigurableConfigSource.java (diff)
The file was modifiedapi/src/main/java/org/eclipse/microprofile/config/spi/ConfigSource.java (diff)