public synchronized HermesAdminFactory createExtension(String classPathId, ProviderExtConfig extConfig, ConnectionFactory cf)
throws InstantiationException, ClassNotFoundException, NamingException, JMSException {
if (extConfig != null && extConfig.getClassName() != null && !extConfig.getClassName().equals("")) {
log.debug("creating extension " + extConfig.getClassName() + " for " + cf.getClass().getName());
HermesAdminFactory providerExtension = null;
try {
ClassLoader classLoader = classLoaderManager.getClassLoader(classPathId);