Package org.reverspring.annotations

Examples of org.reverspring.annotations.ClassProperties


   * @return is singleton class
   */
  private static boolean isSingletonClass(Object o) {
    if (o == null)
      return false;
    ClassProperties annotation = o.getClass().getAnnotation(ClassProperties.class);

    if (annotation == null) {
      return false;
    } else if (annotation.singletonClass() == true) {
      return true;
    }

    return false;
  }
View Full Code Here

TOP

Related Classes of org.reverspring.annotations.ClassProperties

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.