Class ConnectorClassLoaderWorkaround


  • public class ConnectorClassLoaderWorkaround
    extends Object
    Workaround for some classloader problems with getRealConnector().

    This will create a temporary fake Application with the given implementation class and construct that according to the configuration provided.

    • Method Detail

      • getConnector

        public static sailpoint.connector.Connector getConnector​(String applicationClassName,
                                                                 List<String> optionalConnectorClassloader)
                                                          throws sailpoint.tools.GeneralException
        Get a connector by class name.

        This will create a temporary fake Application.

        Parameters:
        applicationClassName - The class name of the connector
        optionalConnectorClassloader - A list of connector-classpath entries to add to the connector classloader
        Returns:
        The connector
        Throws:
        sailpoint.tools.GeneralException - if the connector cannot be created