Examples of VerificationEvent


Examples of org.jboss.verifier.event.VerificationEvent

   }

   protected void fireSpecViolationEvent(BeanMetaData bean, Method method,
                                         Section section)
   {
      VerificationEvent event = factory.createSpecViolationEvent(context,
              section);
      event.setName(bean.getEjbName());
      event.setMethod(method);

      context.fireSpecViolation(event);
   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

      fireBeanVerifiedEvent(bean, null);
   }

   protected final void fireBeanVerifiedEvent(BeanMetaData bean, String msg)
   {
      VerificationEvent event = factory.createBeanVerifiedEvent(context);
      event.setName(bean.getEjbName());

      if (msg != null)
      {
         event.setMessage(msg);
      }

      context.fireBeanChecked(event);
   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

   }

   public VerificationEvent createSpecViolationEvent(
      VerificationEventGenerator source, Section section)
   {
      VerificationEvent event = new VerificationEvent(source);

      event.setState(VerificationEvent.WARNING);
      event.setSection(section);
      event.setMessage((String)msgTable.get(section.getSection()));

      return event;
   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

   }

   public VerificationEvent createBeanVerifiedEvent(
      VerificationEventGenerator source)
   {
      VerificationEvent event = new VerificationEvent(source);

      event.setState(VerificationEvent.OK);
      event.setMessage("Verified.");

      return event;
   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

/*  99 */     this.msgTable = loadErrorMessages();
/*     */   }
/*     */
/*     */   public VerificationEvent createSpecViolationEvent(VerificationEventGenerator source, Section section)
/*     */   {
/* 105 */     VerificationEvent event = new VerificationEvent(source);
/*     */
/* 107 */     event.setState("WARNING");
/* 108 */     event.setSection(section);
/* 109 */     event.setMessage((String)this.msgTable.get(section.getSection()));
/*     */
/* 111 */     return event;
/*     */   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

/* 111 */     return event;
/*     */   }
/*     */
/*     */   public VerificationEvent createBeanVerifiedEvent(VerificationEventGenerator source)
/*     */   {
/* 117 */     VerificationEvent event = new VerificationEvent(source);
/*     */
/* 119 */     event.setState("OK");
/* 120 */     event.setMessage("Verified.");
/*     */
/* 122 */     return event;
/*     */   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

/* 1113 */     fireSpecViolationEvent(bean, null, section);
/*      */   }
/*      */
/*      */   protected void fireSpecViolationEvent(BeanMetaData bean, Method method, Section section)
/*      */   {
/* 1119 */     VerificationEvent event = this.factory.createSpecViolationEvent(this.context, section);
/*      */
/* 1121 */     event.setName(bean.getEjbName());
/* 1122 */     event.setMethod(method);
/*      */
/* 1124 */     this.context.fireSpecViolation(event);
/*      */   }
View Full Code Here

Examples of org.jboss.verifier.event.VerificationEvent

/* 1129 */     fireBeanVerifiedEvent(bean, null);
/*      */   }
/*      */
/*      */   protected final void fireBeanVerifiedEvent(BeanMetaData bean, String msg)
/*      */   {
/* 1134 */     VerificationEvent event = this.factory.createBeanVerifiedEvent(this.context);
/* 1135 */     event.setName(bean.getEjbName());
/*      */
/* 1137 */     if (msg != null)
/*      */     {
/* 1139 */       event.setMessage(msg);
/*      */     }
/*      */
/* 1142 */     this.context.fireBeanChecked(event);
/*      */   }
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.