Class DistributionSupportChangeConsumer
- java.lang.Object
-
- com._1c.g5.aef2.events.AbstractServiceConsumer<DistributionSupportChangeEvent,DistributionSupportServiceEvent>
-
- com._1c.g5.v8.dt.md.ui.aef2.events.DistributionSupportChangeConsumer
-
- All Implemented Interfaces:
IServiceConsumer<DistributionSupportChangeEvent>
,IEventListener
public class DistributionSupportChangeConsumer extends AbstractServiceConsumer<DistributionSupportChangeEvent,DistributionSupportServiceEvent> implements IEventListener
TheIServiceConsumer
that handlesDistributionSupportChangeEvent
fromIEventBroker
and notifies AEF 2.0 components with a corespondingDistributionSupportServiceEvent
.
-
-
Constructor Summary
Constructors Constructor Description DistributionSupportChangeConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DistributionSupportServiceEvent
convertToAefEvent(DistributionSupportChangeEvent externalEvent)
Converts the given external event to AEF service event.void
handleEvent(IEvent event)
Process event of specified type-
Methods inherited from class com._1c.g5.aef2.events.AbstractServiceConsumer
accept, dispose, getEventTracker, intitialize, notifyServiceEventQualifierScopeChanged
-
-
-
-
Method Detail
-
handleEvent
public void handleEvent(IEvent event)
Description copied from interface:IEventListener
Process event of specified type- Specified by:
handleEvent
in interfaceIEventListener
- Parameters:
event
- the event to handle (cannot benull
)
-
convertToAefEvent
protected DistributionSupportServiceEvent convertToAefEvent(DistributionSupportChangeEvent externalEvent)
Description copied from class:AbstractServiceConsumer
Converts the given external event to AEF service event.- Specified by:
convertToAefEvent
in classAbstractServiceConsumer<DistributionSupportChangeEvent,DistributionSupportServiceEvent>
- Parameters:
externalEvent
- the external service event.- Returns:
- the AEF
IServiceEvent
successor.
-
-