Package com.citytechinc.cq.component.maven.util

Examples of com.citytechinc.cq.component.maven.util.LogSingleton.debug()


    LOG.debug(widgetConfigs.size() + " Widget Configurations found");

    this.annotationToWidgetConfigMap = new HashMap<Class<?>, WidgetConfigHolder>();

    for (WidgetConfigHolder curConfig : widgetConfigs) {
      LOG.debug("Widget Config -- " + curConfig.getWidgetClass() + " : " + curConfig.getMakerClass() + " : "
        + curConfig.getAnnotationClass() + " : " + curConfig.getXtype());
      if (curConfig.getAnnotationClass() != null) {
        this.annotationToWidgetConfigMap.put(curConfig.getAnnotationClass(), curConfig);
      }
    }
View Full Code Here


    LogSingleton LOG = LogSingleton.getInstance();

    List<WidgetConfigHolder> widgetConfigs = ComponentMojoUtil.getAllWidgetAnnotations(classPool, classLoader,
      reflections);

    LOG.debug(widgetConfigs.size() + " Widget Configurations found");

    this.annotationToWidgetConfigMap = new HashMap<Class<?>, WidgetConfigHolder>();

    for (WidgetConfigHolder curConfig : widgetConfigs) {
      LOG.debug("Widget Config -- " + curConfig.getWidgetClass() + " : " + curConfig.getMakerClass() + " : "
View Full Code Here

    WidgetConfigHolder highestRankedWidget = null;

    Set<Class<?>> registeredAnnotations = parameters.getWidgetRegistry().getRegisteredAnnotations();

    for (Class<?> curRegisteredAnnotation : registeredAnnotations) {
      LOG.debug("Checking for known annotation " + curRegisteredAnnotation);
      if (parameters.getCtMember().hasAnnotation(curRegisteredAnnotation)) {
        WidgetConfigHolder curPotential = parameters.getWidgetRegistry().getWidgetForAnnotation(
          curRegisteredAnnotation);
        if (rankCeiling < 0 || curPotential.getRanking() < rankCeiling) {
          LOG.debug("Match found in the registry with ranking " + curPotential.getRanking());
View Full Code Here

      LOG.debug("Checking for known annotation " + curRegisteredAnnotation);
      if (parameters.getCtMember().hasAnnotation(curRegisteredAnnotation)) {
        WidgetConfigHolder curPotential = parameters.getWidgetRegistry().getWidgetForAnnotation(
          curRegisteredAnnotation);
        if (rankCeiling < 0 || curPotential.getRanking() < rankCeiling) {
          LOG.debug("Match found in the registry with ranking " + curPotential.getRanking());
          if (highestRankedWidget == null || curPotential.getRanking() > highestRankedWidget.getRanking()) {
            highestRankedWidget = curPotential;
          }
        }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.