Examples of ConditionalForClass


Examples of org.springframework.springfaces.bean.ConditionalForClass

    if (!(object instanceof ConditionalForClass)) {
      return isForClass;
    }

    ConditionalForClass conditionalForClass = (ConditionalForClass) object;
    // Only call the conditional if we match one of the classes or there was no specific classes to match against
    if (isForClass || classes.isEmpty()) {
      return conditionalForClass.isForClass(targetClass);
    }
    return false;
  }
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.