Class DynamicModelAppliedClusterEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.cluster.ClusterApplicationEvent
io.jmix.dynmodel.DynamicModelAppliedClusterEvent
All Implemented Interfaces:
Serializable

public class DynamicModelAppliedClusterEvent extends ClusterApplicationEvent
Sent to all nodes of the cluster after a dynamic model has been applied and persisted. Carries no model data: a receiving node reads the currently active settings record from the database.
See Also:
  • Constructor Details

    • DynamicModelAppliedClusterEvent

      public DynamicModelAppliedClusterEvent(Object source, String nodeId, UUID settingsId)
      Creates the event.
      Parameters:
      source - event source
      nodeId - id of the node that applied the model
      settingsId - id of the applied settings record
  • Method Details

    • getNodeId

      public String getNodeId()
      Returns the id of the node that applied the model.
      Returns:
      node id
    • getSettingsId

      public UUID getSettingsId()
      Returns the id of the applied settings record.
      Returns:
      settings record id