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

SessionBeanTest

public abstract class SessionBeanTest extends com.sun.enterprise.tools.verifier.tests.ejb.EjbTest
Base class for EJB 3.0 session 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.EjbSessionDescriptor descriptor)

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

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