Package org.refcodes.properties.ext.observer
package org.refcodes.properties.ext.observer
-
ClassDescriptionAbstractObservablePropertiesBuilderDecorator<T extends org.refcodes.properties.Properties.PropertiesBuilder>AbstractObservableResourcePropertiesBuilderDecorator<T extends org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilder>The
ObservableProperties
representProperties
which are observable in terms of create, update and delete operations: Create: Whenever a property is created (as ofKeys.MutableValues.put(Object, Object)
) in the relatedObservableProperties
instance, then thePropertiesObserver.onPropertyCreatedEvent(PropertyCreatedEvent)
method of a registeredPropertiesObserver
instance is invoked.TheObservableProperties.ObservableMutableProperties
represent mutableObservableProperties
.TheObservableProperties.ObservablePropertiesBuilder
represents aObservableProperties.ObservableMutableProperties
builder.Makes aProperties.PropertiesBuilder
instance observable.Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the construction ofObservableProperties
(and the like).TheObservableResouceProperties
representResourceProperties
which are observable in terms of create, update and delete operations: Create: Whenever a property is created (as ofKeys.MutableValues.put(Object, Object)
) in the relatedObservableResouceProperties
instance, then this method is invoked on the listener.Makes aProperties.PropertiesBuilder
instance observable.Defines an observer to be registered to anObservableProperties
(or one of its sub-classes) instance viaObservable.subscribeObserver(Object)
.ThePropertyCreatedEvent
is fired whenever a property is created in the relatedObservableProperties
instance (as ofKeys.MutableValues.put(Object, Object)
or the like).ThePropertyDeletedEvent
is fired whenever a property is removed from the relatedObservableProperties
instance (as ofMap.remove(Object)
).ThePropertyEvent
represents the base event type for theObservableProperties
.Implementation of thePropertyEvent
interface.ThePropertyUpdatedEvent
is fired whenever an existing property (as ofKeys.containsKey(Object)
) is updated in the relatedObservableProperties
instance (as ofKeys.MutableValues.put(Object, Object)
or the like).