org.jboss.metadata.validation.validator.ejb.jboss
Class CompleteEjb2xViewValidator
java.lang.Object
org.jboss.metadata.validation.validator.ejb.JBossEjb3SessionBeanValidatorBase
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static CompleteEjb2xViewValidator INSTANCE
- Convenience instance
CompleteEjb2xViewValidator
public CompleteEjb2xViewValidator()
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.