Package org.servicemix.jbi.deployment

Examples of org.servicemix.jbi.deployment.ServiceUnit


    protected void initSA(ServiceAssembly sa) throws DeploymentException {
        if (sa != null) {
            ServiceUnit[] sus = sa.getServiceUnits();
            if (sus != null) {
                for (int i = 0;i < sus.length;i++) {
                    ServiceUnit su = sus[i];
                    String name = su.getIdentification().getName();
                    Target target = su.getTarget();
                    String componentName = target.getComponentName();
                    try {
                        File targetDir = environmentContext.getServiceUnitDirectory(componentName, name);
                        // now get the component and give it a SA
                        Component component = container.getComponent(componentName);
View Full Code Here


            }
        }
    }

    protected ServiceUnit getServiceUnit(String serviceUnitName, ServiceUnit[] sus) {
        ServiceUnit result = null;
        if (sus != null) {
            for (int i = 0;i < sus.length;i++) {
                if (sus[i].getIdentification().getName().equals(serviceUnitName)) {
                    result = sus[i];
                    break;
View Full Code Here

TOP

Related Classes of org.servicemix.jbi.deployment.ServiceUnit

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.