Package org.servicemix.jbi.container

Examples of org.servicemix.jbi.container.SpringServiceUnitContainer


    public void init(String serviceUnitName, String serviceUnitRootPath) throws DeploymentException {
        System.out.println("ServiceMixComponent: init: " + serviceUnitName + " path: " + serviceUnitRootPath);

        FileSystemXmlApplicationContext springContext = new FileSystemXmlApplicationContext("file:"+ serviceUnitRootPath +"/servicemix.xml" );
        SpringServiceUnitContainer ssuc = (SpringServiceUnitContainer) springContext.getBean("jbi");

        ServiceMixServiceUnit suc = new ServiceMixServiceUnit(this, serviceUnitName, serviceUnitRootPath, springContext, ssuc);
        serviceUnitRegistry.put(serviceUnitName, suc);
    }
View Full Code Here

TOP

Related Classes of org.servicemix.jbi.container.SpringServiceUnitContainer

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.