Class ExternalTerminationHandler
java.lang.Object
energy.eddie.regionconnector.at.eda.handlers.ExternalTerminationHandler
- All Implemented Interfaces:
EventHandler<TerminationEvent>
@Component
public class ExternalTerminationHandler
extends Object
implements EventHandler<TerminationEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionExternalTerminationHandler(Outbox outbox, EventBus eventBus, AtPermissionRequestRepository repository, AtConfiguration atConfiguration, EdaGroupingIdFactory groupingIdFactory, EdaAdapter edaAdapter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TerminationEvent permissionEvent) Subscription method for the event bus
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:EventHandlerSubscription method for the event bus- Specified by:
acceptin interfaceEventHandler<TerminationEvent>- Parameters:
permissionEvent- event that indicates that a permission request has been changed
-