Package org.glassfish.hk2.api
Interface DynamicConfigurationListener
- All Known Implementing Classes:
ConfigurationListener.DescriptorListener
,DefaultTopicDistributionService
,Hk2BridgeImpl
,ImmediateHelper
A service that listens for dynamic configuration changes.
Implementations of this service must be in the Singleton
scope.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when the set of descriptors in this service locator has been changed.
-
Method Details
-
configurationChanged
void configurationChanged()This method is called when the set of descriptors in this service locator has been changed. Changes to parent service locators descriptors will not be reported. These services are called back on the thread doing theDynamicConfiguration.commit()
so care should be taken to do any work quickly. Any exception thrown from this method will be ignored. A commit that failed will not be reported to this method
-