001package com.identityworksllc.iiq.common.service;
002
003import sailpoint.api.SailPointContext;
004import sailpoint.tools.GeneralException;
005
006/**
007 * Functional interface to invoke the implementation
008 */
009@FunctionalInterface
010public interface ServiceImplementationInvoker {
011    /**
012     * Invokes the service implementation after doing whatever pre-work is required.
013     * By default, this simply invokes this::implementation.
014     */
015    void invokeImplementation(SailPointContext context) throws GeneralException;
016}