Here are the examples of the java api class org.apache.activemq.artemis.spi.core.remoting.ConnectorFactory taken from open source projects.
1. ClientSessionFactoryImpl#instantiateConnectorFactory()
Project: activemq-artemis
File: ClientSessionFactoryImpl.java
File: ClientSessionFactoryImpl.java
protected ConnectorFactory instantiateConnectorFactory(final String connectorFactoryClassName) { // Will set the instance here to avoid races where cachedFactory is set to null ConnectorFactory cachedFactory = connectorFactory; // First if cachedFactory had been used already, we take it from the cache. if (cachedFactory != null && cachedFactory.getClass().getName().equals(connectorFactoryClassName)) { return cachedFactory; } return AccessController.doPrivileged(new PrivilegedAction<ConnectorFactory>() { @Override public ConnectorFactory run() { return (ConnectorFactory) ClassloadingUtil.newInstanceFromClassLoader(connectorFactoryClassName); } }); }