@Test public void testRegisterConnectionAdapter() { registry.init(); registry.registerConnectionAdapter(conn, features); Assert.assertEquals("Wrong map", conn, registry.getConnectionAdapter(1L)); }
public synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter, GetFeaturesOutput datapathID) throws NullPointerException { connectionAdapterMap.put(connectionAdapter, datapathID); }
ConnectionAdaptersRegistry { public synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter, GetFeaturesOutput datapathID) throws NullPointerException { connectionAdapterMap.put(connectionAdapter, datapathID); } }
ConnectionAdaptersRegistry { public synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter, GetFeaturesOutput datapathID) throws NullPointerException { connectionAdapterMap.put(connectionAdapter, datapathID); }  }
ConnectionAdaptersRegistry { public synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter, GetFeaturesOutput datapathID) throws NullPointerException { connectionAdapterMap.put(connectionAdapter, datapathID); }  synchronized void init(); synchronized void setConnectionAdapterMap(HashMap<ConnectionAdapter, GetFeaturesOutput> map); synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter,
            GetFeaturesOutput datapathID); synchronized GetFeaturesOutput getFeaturesOutput(ConnectionAdapter connectionAdapter); synchronized BigInteger getDatapathID(ConnectionAdapter connectionAdapter); synchronized ConnectionAdapter getConnectionAdapter(Long datapathId); Set<ConnectionAdapter> getConnectionAdapters(); synchronized boolean removeConnectionAdapter(ConnectionAdapter conn); }
ConnectionAdaptersRegistry { public synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter, GetFeaturesOutput datapathID) throws NullPointerException { connectionAdapterMap.put(connectionAdapter, datapathID); }  synchronized void init(); synchronized void setConnectionAdapterMap(HashMap<ConnectionAdapter, GetFeaturesOutput> map); synchronized void registerConnectionAdapter(ConnectionAdapter connectionAdapter,
            GetFeaturesOutput datapathID); synchronized GetFeaturesOutput getFeaturesOutput(ConnectionAdapter connectionAdapter); synchronized BigInteger getDatapathID(ConnectionAdapter connectionAdapter); synchronized ConnectionAdapter getConnectionAdapter(Long datapathId); Set<ConnectionAdapter> getConnectionAdapters(); synchronized boolean removeConnectionAdapter(ConnectionAdapter conn);  }