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 java.lang.Object implements DynamicConfigurationListener
-
-
Field Summary
Fields Modifier and Type Field Description private ConfigurationListener
parent
-
Constructor Summary
Constructors Modifier Constructor Description private
DescriptorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configurationChanged()
This method is called when the set of descriptors in this service locator has been changed.
-
-
-
Field Detail
-
parent
@Inject private ConfigurationListener parent
-
-
Method Detail
-
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
-
-