Package net.sf.minuteProject.loader.mapping.node

Examples of net.sf.minuteProject.loader.mapping.node.Service


      if (generatorBean instanceof Bean) {
        Bean bean = (Bean)generatorBean;
        return bean.isInPackage();
      }
      if (generatorBean instanceof Service) {
        Service service = (Service)generatorBean;
        return service.isInPackage();
      }     
      return false;   
  }
View Full Code Here


    if (expectedBP==null)
      return false;
    boolean ret = mappingMapBeanUtils.isToGenerateBasedOnIsNotInPackage(template, generatorBean);
    if (ret) {
      if (generatorBean instanceof Service) {
        Service service = (Service) generatorBean;
        if (expectedBP.equals(service.getBusinessPackageName()))
          return true;
      }
    }
    return false;
  }
View Full Code Here

  public List<Service> getDistinctCalledServices(Service service) {
    List<Service> services= new ArrayList<Service>();
    Map<String, Service> map = new HashMap<String, Service>();
    for (Function function : service.getFunctions().getFunctions()) {
      for (Call call : function.getCalls().getCalls()) {
        Service serviceCalled = getCalledService(call);
        if (serviceCalled!=null)
          map.put(call.getService(), serviceCalled);
      }   
    }   
    services.addAll(map.values());
View Full Code Here

TOP

Related Classes of net.sf.minuteProject.loader.mapping.node.Service

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.