Interface BeforeRemoveIntegrationObjectChecker
- All Known Implementing Classes:
NoInboundChannelConfigBeforeRemoveIOChecker,NoOutboundChannelConfigBeforeRemoveIOChecker,NoWebhookConfigBeforeRemoveIOChecker
public interface BeforeRemoveIntegrationObjectChecker
This interface is used with the
IntegrationObjectRemoveInterceptor.
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
Modifier and TypeMethodDescriptionvoidcheckIfIntegrationObjectInUse(IntegrationObjectModel integrationObject) This method will be called to check if there are any items that reference the given integrationObject.
-
Method Details
-
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
-