Package org.openengsb.core.services.internal.virtual

Examples of org.openengsb.core.services.internal.virtual.ProxyConnectorProvider


        MethodResult result = MethodResult.newVoidResult();
        when(callrouter.sendMethodCallWithResult(anyString(), anyString(), any(MethodCall.class))).thenReturn(result);
        registerService(callrouter, new Hashtable<String, Object>(), OutgoingPortUtilService.class);
        registrationManager = new ConnectorRegistrationManager(bundleContext,
                mock(TransformationEngine.class), new ForwardMethodInterceptor(), new SecurityAttributeProviderImpl());
        ProxyConnectorProvider proxyConnectorProvider = new ProxyConnectorProvider();
        proxyConnectorProvider.setId(Constants.EXTERNAL_CONNECTOR_PROXY);
        proxyConnectorProvider.setBundleContext(bundleContext);
        proxyConnectorProvider.setOutgoingPortUtilService(callrouter);
        connectorRegistry = new ProxyConnectorRegistryImpl();
        proxyConnectorProvider.setConnectorRegistry(connectorRegistry);
        registerService(proxyConnectorProvider, new Hashtable<String, Object>(), VirtualConnectorProvider.class);
        new Activator().start(bundleContext);
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.services.internal.virtual.ProxyConnectorProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.