Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » verifier » [javadoc | source]
org.jboss.verifier
public class: BeanVerifier [javadoc | source]
java.lang.Object
   org.jboss.verifier.BeanVerifier

All Implemented Interfaces:
    VerificationContext

Attempts to verify the spec compliance of the beans in a given EJB-JAR file. Works against EJB spec 1.1 and 2.0. Built for use in JBoss project.
Constructor:
 public BeanVerifier() 
Method from org.jboss.verifier.BeanVerifier Summary:
addVerificationListener,   fireBeanChecked,   fireSpecViolation,   getApplicationMetaData,   getClassLoader,   getEJBVersion,   getJarLocation,   getSuccess,   getVerifier,   removeVerificationListener,   setVerifier,   verify,   verify
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.verifier.BeanVerifier Detail:
 public  void addVerificationListener(VerificationListener listener) 
 public  void fireBeanChecked(VerificationEvent event) 
 public  void fireSpecViolation(VerificationEvent event) 
 public ApplicationMetaData getApplicationMetaData() 
 public ClassLoader getClassLoader() 
 public String getEJBVersion() 
 public URL getJarLocation() 
 public boolean getSuccess() 
    Check if the Verifier was successful
 protected VerificationStrategy getVerifier() 
 public  void removeVerificationListener(VerificationListener listener) 
 protected  void setVerifier(String version) 
 public  void verify(URL url,
    ApplicationMetaData metaData) 
    Checks the Enterprise Java Beans found in this Jar for EJB spec compliance (EJB Spec. 1.1). Ensures that the given interfaces and implementation classes implement required methods and follow the contract given in the spec.
 public  void verify(URL url,
    ApplicationMetaData metaData,
    ClassLoader cl) 
    Checks the Enterprise Java Beans found in this Jar for EJB spec compliance (EJB Spec. 1.1). Ensures that the given interfaces and implementation classes implement required methods and follow the contract given in the spec.