Package org.openengsb.core.services.internal

Examples of org.openengsb.core.services.internal.XLinkConnectorManagerImpl


        context.putBean("wiringService", defaultWiringService);
        serviceUtils = new DefaultOsgiUtilsService(bundleContext);
        context.putBean("osgiUtilsService", serviceUtils);
        ConnectorRegistrationManager registrationManager = new ConnectorRegistrationManager(bundleContext,
                mock(TransformationEngine.class), new ForwardMethodInterceptor(), new SecurityAttributeProviderImpl());
        XLinkConnectorManagerImpl serviceManager = new XLinkConnectorManagerImpl();
        serviceManager.setRegistrationManager(registrationManager);

        DummyConfigPersistenceService<String> backend = new DummyConfigPersistenceService<String>();
        DefaultConfigPersistenceService persistenceService = new DefaultConfigPersistenceService(backend);

        serviceManager.setConfigPersistence(persistenceService);

        Dictionary<String, Object> props = new Hashtable<String, Object>();
        props.put("configuration.id", Constants.CONFIG_CONNECTOR);
        registerService(persistenceService, props, ConfigPersistenceService.class);
View Full Code Here

TOP

Related Classes of org.openengsb.core.services.internal.XLinkConnectorManagerImpl

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.