gateway/service/src/main/java/org/apache/karaf/cave/gateway/service/rest/FeaturesGatewayRestService.java [48:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Map<Class<?>, Object> extensions = new HashMap<>();
        DestinationRegistry destinationRegistry = new DestinationRegistryImpl();
        HTTPTransportFactory httpTransportFactory = new HTTPTransportFactory(destinationRegistry);
        extensions.put(HTTPTransportFactory.class, httpTransportFactory);
        extensions.put(DestinationRegistry.class, destinationRegistry);
        Bus bus = new ExtensionManagerBus(extensions, null, getClass().getClassLoader());
        org.apache.cxf.transport.DestinationFactoryManager destinationFactoryManager = bus.getExtension(org.apache.cxf.transport.DestinationFactoryManager.class);
        for (String url : HTTPTransportFactory.DEFAULT_NAMESPACES) {
            destinationFactoryManager.registerDestinationFactory(url, httpTransportFactory);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



repository/service/src/main/java/org/apache/karaf/cave/repository/service/rest/RepositoryRestService.java [48:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Map<Class<?>, Object> extensions = new HashMap<>();
        DestinationRegistry destinationRegistry = new DestinationRegistryImpl();
        HTTPTransportFactory httpTransportFactory = new HTTPTransportFactory(destinationRegistry);
        extensions.put(HTTPTransportFactory.class, httpTransportFactory);
        extensions.put(DestinationRegistry.class, destinationRegistry);
        Bus bus = new ExtensionManagerBus(extensions, null, getClass().getClassLoader());
        org.apache.cxf.transport.DestinationFactoryManager destinationFactoryManager = bus.getExtension(org.apache.cxf.transport.DestinationFactoryManager.class);
        for (String url : HTTPTransportFactory.DEFAULT_NAMESPACES) {
            destinationFactoryManager.registerDestinationFactory(url, httpTransportFactory);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



