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

PersistenceContextType

public class PersistenceContextType extends com.sun.enterprise.tools.verifier.tests.AbstractPersistenceContextType
author
bshankar@sun.com
see
AbstractPersistenceContextType

Fields Summary
Constructors Summary
Methods Summary
protected java.util.CollectiongetEntityManagerReferenceDescriptors(com.sun.enterprise.deployment.Descriptor descriptor)

        return EjbDescriptor.class.cast(descriptor)
        .getEntityManagerReferenceDescriptors();
    
protected booleanisStatefulSessionBean(com.sun.enterprise.deployment.Descriptor d)

        if (d instanceof EjbSessionDescriptor) {
            String stateType = ((EjbSessionDescriptor)d).getSessionType();
            if (EjbSessionDescriptor.STATEFUL.equals(stateType)) {
                return true;
            }
        }
        return false;