FileDocCategorySizeDatePackage
MessageBeanTest.javaAPI DocGlassfish v2 API3191Fri May 04 22:33:34 BST 2007com.sun.enterprise.tools.verifier.tests.ejb.ejb30

MessageBeanTest

public abstract class MessageBeanTest extends com.sun.enterprise.tools.verifier.tests.ejb.EjbTest
Base class for EJB 3.0 message bean tests.
author
Vikas Awasthi

Fields Summary
protected com.sun.enterprise.tools.verifier.tests.ComponentNameConstructor
compName
protected com.sun.enterprise.tools.verifier.Result
result
Constructors Summary
Methods Summary
public abstract com.sun.enterprise.tools.verifier.Resultcheck(com.sun.enterprise.deployment.EjbMessageBeanDescriptor descriptor)

public com.sun.enterprise.tools.verifier.Resultcheck(com.sun.enterprise.deployment.EjbDescriptor descriptor)

    
        
        result = getInitializedResult();
        compName = getVerifierContext().getComponentNameConstructor(); 
        if (descriptor instanceof EjbMessageBeanDescriptor) 
            return check((EjbMessageBeanDescriptor) descriptor);
        
        addNaDetails(result, compName);
        result.notApplicable(smh.getLocalString
                ("com.sun.enterprise.tools.verifier.tests.ejb.ejb30.MessageBeanTest.notApplicable",
                "Test apply only to Message Bean components"));
        return result;