Package org.jboss.metadata.validation.validator

Examples of org.jboss.metadata.validation.validator.Validator


    * @param smd
    */
   protected void runValidationAndEnsureFails(JBossSessionBeanMetaData smd)
   {
      // Set up a validator
      Validator validator = CompleteEjb2xViewValidator.INSTANCE;

      // Validate
      try
      {
         validator.validate(smd.getJBossMetaData());
      }
      // Expected
      catch (ValidationException e)
      {
         // Get the expected error code
View Full Code Here

TOP

Related Classes of org.jboss.metadata.validation.validator.Validator

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.