Class ConsumedDestinationRemoveInterceptor
java.lang.Object
de.hybris.platform.apiregistryservices.interceptors.ConsumedDestinationRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<ConsumedDestinationModel>
public class ConsumedDestinationRemoveInterceptor
extends Object
implements RemoveInterceptor<ConsumedDestinationModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientFactoryprotected EventServicevoidonRemove(ConsumedDestinationModel consumedDestination, InterceptorContext ctx) Called in themodelService.removeAll()method.voidsetClientFactory(ClientFactory clientFactory) voidsetEventService(EventService eventService)
-
Constructor Details
-
ConsumedDestinationRemoveInterceptor
public ConsumedDestinationRemoveInterceptor()
-
-
Method Details
-
onRemove
public void onRemove(ConsumedDestinationModel consumedDestination, InterceptorContext ctx) throws InterceptorException Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor<ConsumedDestinationModel>- Parameters:
consumedDestination- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
getClientFactory
-
setClientFactory
-
getEventService
-
setEventService
-