org.jboss.metadata.validation.validator.ejb.jboss
Class CompleteEjb2xViewValidator

java.lang.Object
  extended by org.jboss.metadata.validation.validator.ejb.JBossEjb3SessionBeanValidatorBase
      extended by org.jboss.metadata.validation.validator.ejb.jboss.CompleteEjb2xViewValidator
All Implemented Interfaces:
Validator

public class CompleteEjb2xViewValidator
extends JBossEjb3SessionBeanValidatorBase

CompleteEjb2xViewValidator Raises a validation exception if there is an incomplete EJB2.x View defined by the ejb-jar schema: "Either both the local-home and the local elements or both the home and the remote elements must be specified for the session bean." JBMETA-130

Version:
$Revision: $
Author:
ALR

Field Summary
static CompleteEjb2xViewValidator INSTANCE
          Convenience instance
 
Constructor Summary
CompleteEjb2xViewValidator()
           
 
Method Summary
protected  void validate(JBossSessionBeanMetaData smd)
          Validate the specified Session bean's metadata
 
Methods inherited from class org.jboss.metadata.validation.validator.ejb.JBossEjb3SessionBeanValidatorBase
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static CompleteEjb2xViewValidator INSTANCE
Convenience instance

Constructor Detail

CompleteEjb2xViewValidator

public CompleteEjb2xViewValidator()
Method Detail

validate

protected void validate(JBossSessionBeanMetaData smd)
                 throws ValidationException
Validate the specified Session bean's metadata

Specified by:
validate in class JBossEjb3SessionBeanValidatorBase
Parameters:
smd -
Throws:
ValidationException


Copyright © 2009 JBoss Inc.. All Rights Reserved.