Class TenantChangeEvent

  • All Implemented Interfaces:
    Serializable

    public final class TenantChangeEvent
    extends Object
    implements Serializable
    Event published whenever one or more tenants are created, updated or deleted. Observe it (e.g. via @ObservesAsync) to react to tenant changes. The only dependency required for that is this module. The event carries the affected tenants as lightweight TenantBaseData entries (never entities), so a single publication can cover a batch of tenants that changed together.
    Since:
    8.5.0
    Author:
    Norman Lorenz
    See Also:
    Serialized Form