Apache.NMS.ActiveMQ.NetTxRecoveryPolicy.FindLoggerFactory C# (CSharp) Method

FindLoggerFactory() private static method

private static FindLoggerFactory ( string scheme ) : Type
scheme string
return System.Type
        private static Type FindLoggerFactory(string scheme)
        {
            if(LOGGER_FACTORY_TYPES.ContainsKey(scheme))
            {
                return LOGGER_FACTORY_TYPES[scheme];
            }

            try
            {
                Type factoryType = FACTORY_FINDER.FindFactoryType(scheme);
                LOGGER_FACTORY_TYPES[scheme] = factoryType;
                return factoryType;
            }
            catch
            {
                throw new NMSException("Failed to find Factory for Recovery Logger type: " + scheme);
            }
        }