Examples of InitAnnotation


Examples of co.pishfa.accelerate.initializer.model.InitAnnotation

    private void setDataMetadata() {
      if (dataAnnotation == null) {
        this.metadata = null;
      } else {
        InitAnnotation initAnnotation = dataAnnotation.annotationType().getAnnotation(InitAnnotation.class);
        if (initAnnotation.value() != Object.class) {
          this.metadata = factory.getInitEntityByClass(initAnnotation.value());
          if (this.metadata == null) {
            log.warn("No meta data found for class " + initAnnotation.value());
          }
        } else {
          String alias = dataAnnotation.annotationType().getSimpleName();
          this.metadata = factory.getInitEntityByAlias(alias);
          if (this.metadata == null) {
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.