Package org.apache.servicemix.common.packaging

Examples of org.apache.servicemix.common.packaging.ServiceUnitAnalyzer


            String serviceUnitAnalyzerClazzName = getServiceUnitAnalyzer();
            // The ServiceUnitAnalyzer should give us the consumes and
            // provides
            if (serviceUnitAnalyzerClazzName != null) {
                ServiceUnitAnalyzer serviceUnitAnalyzer = (ServiceUnitAnalyzer) newClassLoader
                        .loadClass(serviceUnitAnalyzerClazzName).newInstance();
                getLog().info(
                        "Created Service Unit Analyzer " + serviceUnitAnalyzer);
                serviceUnitAnalyzer.init(serviceUnitArtifactsDir);

                // Need to determine whether we are using the dummy analyzer
                // if so we need to give it the services file
                if (serviceUnitAnalyzer instanceof JbiServiceFileAnalyzer) {
                    ((JbiServiceFileAnalyzer) serviceUnitAnalyzer)
                            .setJbiServicesFile(jbiServicesFile);
                }
                consumes.addAll(serviceUnitAnalyzer.getConsumes());
                provides.addAll(serviceUnitAnalyzer.getProvides());
            }

            getLog().info(
                    "generated : consumes " + consumes + " provides "
                            + provides);
View Full Code Here


        String serviceUnitAnalyzerClazzName = getServiceUnitAnalyzer();

        // The ServiceUnitAnalyzer should give us the consumes and
        // provides
        if (serviceUnitAnalyzerClazzName != null) {
          ServiceUnitAnalyzer serviceUnitAnalyzer = (ServiceUnitAnalyzer) newClassLoader
              .loadClass(serviceUnitAnalyzerClazzName)
              .newInstance();
          getLog().info(
              "Created Service Unit Analyzer "
                  + serviceUnitAnalyzer);
          serviceUnitAnalyzer.init(serviceUnitArtifactsDir);
          consumes.addAll(serviceUnitAnalyzer.getConsumes());
          provides.addAll(serviceUnitAnalyzer.getProvides());
        }

        getLog().info(
            "generated : consumes " + consumes + " provides "
                + provides);
View Full Code Here

      String serviceUnitAnalyzerClazzName = getServiceUnitAnalyzer();
      // The ServiceUnitAnalyzer should give us the consumes and
      // provides
      if (serviceUnitAnalyzerClazzName != null) {
        ServiceUnitAnalyzer serviceUnitAnalyzer = (ServiceUnitAnalyzer) newClassLoader
            .loadClass(serviceUnitAnalyzerClazzName).newInstance();
        getLog().info(
            "Created Service Unit Analyzer " + serviceUnitAnalyzer);
        serviceUnitAnalyzer.init(serviceUnitArtifactsDir);

        // Need to determine whether we are using the dummy analyzer
        // if so we need to give it the services file
        if (serviceUnitAnalyzer instanceof JbiServiceFileAnalyzer) {
          ((JbiServiceFileAnalyzer) serviceUnitAnalyzer)
              .setJbiServicesFile(jbiServicesFile);
        }
        consumes.addAll(serviceUnitAnalyzer.getConsumes());
        provides.addAll(serviceUnitAnalyzer.getProvides());
      }

      getLog().info(
          "generated : consumes " + consumes + " provides "
              + provides);
View Full Code Here

TOP

Related Classes of org.apache.servicemix.common.packaging.ServiceUnitAnalyzer

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.