Class ConfigurationListener.DescriptorListener
java.lang.Object
org.glassfish.hk2.configuration.internal.ConfigurationListener.DescriptorListener
- All Implemented Interfaces:
DynamicConfigurationListener
- Enclosing class:
ConfigurationListener
@Singleton
private static class ConfigurationListener.DescriptorListener
extends Object
implements DynamicConfigurationListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when the set of descriptors in this service locator has been changed.
-
Field Details
-
parent
-
-
Constructor Details
-
DescriptorListener
private DescriptorListener()
-
-
Method Details
-
configurationChanged
public void configurationChanged()Description copied from interface:DynamicConfigurationListener
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- Specified by:
configurationChanged
in interfaceDynamicConfigurationListener
-