Interface BeforeRemoveIntegrationObjectChecker
-
- All Known Implementing Classes:
NoInboundChannelConfigBeforeRemoveIOChecker,NoOutboundChannelConfigBeforeRemoveIOChecker,NoWebhookConfigBeforeRemoveIOChecker
public interface BeforeRemoveIntegrationObjectCheckerThis interface is used with theIntegrationObjectRemoveInterceptor. Each type that needs to be checked before the Integration Object is removed needs to implement this interface in its extension. This is to prevent circular dependency between this extension (integrationservices) and the extension where the type is defined.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckIfIntegrationObjectInUse(IntegrationObjectModel integrationObject)This method will be called to check if there are any items that reference the given integrationObject.
-
-
-
Method Detail
-
checkIfIntegrationObjectInUse
void checkIfIntegrationObjectInUse(IntegrationObjectModel integrationObject) throws InterceptorException
This method will be called to check if there are any items that reference the given integrationObject. If there are any, anInterceptorExceptionwill be thrown.- Parameters:
integrationObject- The integrationObject to be checked that if any items reference it.- Throws:
InterceptorException- when the Integration Object is referenced
-
-