Package org.glassfish.config.support
Class ConfigConfigBeanListener
- java.lang.Object
-
- org.glassfish.config.support.ConfigConfigBeanListener
-
- All Implemented Interfaces:
ConfigListener
@Service @RunLevel(mode=0, value=10) public final class ConfigConfigBeanListener extends Object implements ConfigListener
Listens for changes to the Config for the current server and adds an index for the name ServerEnvironment.DEFAULT_INSTANCE_NAME to any objects that are added.
-
-
Constructor Summary
Constructors Constructor Description ConfigConfigBeanListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessedChangeEvents
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changed
-
-
-
Method Detail
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
Description copied from interface:ConfigListener
Notification that @Configured objects that were injected have changed- Specified by:
changed
in interfaceConfigListener
- Parameters:
events
- list of changes- Returns:
- the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
-
-