Class AiidaEventListener

java.lang.Object
energy.eddie.aiida.services.AiidaEventListener

@Component public class AiidaEventListener extends Object
  • Constructor Details

  • Method Details

    • addDataSourceToPermission

      @EventListener protected void addDataSourceToPermission(OutboundPermissionAcceptEvent event)
    • createInboundDataSource

      @EventListener protected void createInboundDataSource(InboundPermissionAcceptEvent event)
    • deleteInboundDataSource

      @EventListener protected void deleteInboundDataSource(InboundPermissionRevokeEvent event)
      Stops the runtime publisher and deletes the revoked permission's inbound data source. Deleting the entity also removes its persisted provisioning connection, MQTT user credentials, and ACL through JPA cascade removal.
      Parameters:
      event - Revocation event identifying the inbound data source.
    • revokeAllAssociatedPermissions

      @EventListener protected void revokeAllAssociatedPermissions(DataSourceDeletionEvent event)