public class ConfigurationBuilderResultCreatedEvent extends ConfigurationBuilderEvent
A specialized event class which is generated by a
ConfigurationBuilder when a result configuration has been created.
Events of this type are fired in the
getConfiguration() method of a
configuration builder each time a new result object is created. At the time
the event is fired, no lock is held. The newly created
object is available as a property of this event.
A use case for this event is to perform special initializations on newly created configuration objects. It is also an indication that a builder is now fully initialized; i.e. the managed configuration is available.
|Modifier and Type||Field and Description|
The specialized event type for a newly created result configuration.
ANY, CONFIGURATION_REQUEST, RESET
|Constructor and Description|
Creates a new instance of
|Modifier and Type||Method and Description|
Returns the newly created
appendPropertyRepresentation, getEventType, toString
public ConfigurationBuilderResultCreatedEvent(ConfigurationBuilder<?> source, EventType<? extends ConfigurationBuilderResultCreatedEvent> evType, ImmutableConfiguration createdConfiguration)
ConfigurationBuilderResultCreatedEventand initializes its properties.
ConfigurationBuilderobject which triggered this event (must not be null)
evType- the type of this event (must not be null)
createdConfiguration- the newly created
ImmutableConfigurationobject (must not be null)
IllegalArgumentException- if a required parameter is null
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.