Package org.apache.aries.application

Examples of org.apache.aries.application.ServiceDeclaration


   
    String allServiceImports = appMap.get(AppConstants.APPLICATION_IMPORT_SERVICE);
    List<String> serviceImports = ManifestHeaderProcessor.split(allServiceImports, ",");
    for (String s: serviceImports) {
      try {
        ServiceDeclaration dec = new ServiceDeclarationImpl(s);
        importServices.add(dec);
      } catch (InvalidSyntaxException ise) {
        _logger.warn("APPUTILS0013E", new Object[] {s, appSymbolicName});
      }
    }
   
    String allServiceExports = appMap.get(AppConstants.APPLICATION_EXPORT_SERVICE);
    List<String> serviceExports = ManifestHeaderProcessor.split(allServiceExports, ",");
    for (String s: serviceExports) {
      try {
        ServiceDeclaration dec = new ServiceDeclarationImpl(s);
        exportServices.add(dec);
      } catch (InvalidSyntaxException ise) {
        _logger.warn("APPUTILS0014E", new Object[] {s, appSymbolicName});
      }
    }
View Full Code Here


   
    String allServiceImports = appMap.get(AppConstants.APPLICATION_IMPORT_SERVICE);
    List<String> serviceImports = ManifestHeaderProcessor.split(allServiceImports, ",");
    for (String s: serviceImports) {
      try {
        ServiceDeclaration dec = new ServiceDeclarationImpl(s);
        importServices.add(dec);
      } catch (InvalidSyntaxException ise) {
        _logger.warn("APPUTILS0013E", new Object[] {s, appSymbolicName});
      }
    }
   
    String allServiceExports = appMap.get(AppConstants.APPLICATION_EXPORT_SERVICE);
    List<String> serviceExports = ManifestHeaderProcessor.split(allServiceExports, ",");
    for (String s: serviceExports) {
      try {
        ServiceDeclaration dec = new ServiceDeclarationImpl(s);
        exportServices.add(dec);
      } catch (InvalidSyntaxException ise) {
        _logger.warn("APPUTILS0014E", new Object[] {s, appSymbolicName});
      }
    }
View Full Code Here

TOP

Related Classes of org.apache.aries.application.ServiceDeclaration

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.