Class EjbBundleValidator

java.lang.Object
com.sun.enterprise.deployment.util.DefaultDOLVisitor
com.sun.enterprise.deployment.util.ComponentValidator
org.glassfish.ejb.deployment.util.EjbBundleValidator
All Implemented Interfaces:
com.sun.enterprise.deployment.util.ComponentVisitor, com.sun.enterprise.deployment.util.EjbBundleVisitor, org.glassfish.deployment.common.DescriptorVisitor, EjbVisitor

public class EjbBundleValidator extends com.sun.enterprise.deployment.util.ComponentValidator implements com.sun.enterprise.deployment.util.EjbBundleVisitor, EjbVisitor
This class validates a EJB Bundle descriptor once loaded from an .jar file
Author:
Jerome Dochez
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected EjbDescriptor
     
     

    Fields inherited from class com.sun.enterprise.deployment.util.ComponentValidator

    application, bundleDescriptor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(com.sun.enterprise.deployment.BundleDescriptor descriptor)
     
    void
    accept(com.sun.enterprise.deployment.EjbBundleDescriptor bundleDesc)
     
    void
    accept(com.sun.enterprise.deployment.WebService webService)
     
    void
    Visits an ejb descriptor
    protected com.sun.enterprise.deployment.Application
     
    protected com.sun.enterprise.deployment.BundleDescriptor
     
     
    protected EjbDescriptor
     

    Methods inherited from class com.sun.enterprise.deployment.util.ComponentValidator

    accept, accept, accept, accept, accept, accept, accept, accept, acceptWithCL, acceptWithoutCL, computeRunAsPrincipalDefault, getEjbDescriptors

    Methods inherited from class com.sun.enterprise.deployment.util.DefaultDOLVisitor

    accept, getSubDescriptorVisitor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.glassfish.deployment.common.DescriptorVisitor

    accept, getSubDescriptorVisitor
  • Field Details

  • Constructor Details

    • EjbBundleValidator

      public EjbBundleValidator()
  • Method Details

    • accept

      public void accept(com.sun.enterprise.deployment.BundleDescriptor descriptor)
      Specified by:
      accept in interface com.sun.enterprise.deployment.util.ComponentVisitor
      Overrides:
      accept in class com.sun.enterprise.deployment.util.ComponentValidator
    • accept

      public void accept(com.sun.enterprise.deployment.EjbBundleDescriptor bundleDesc)
      Specified by:
      accept in interface com.sun.enterprise.deployment.util.EjbBundleVisitor
    • accept

      public void accept(EjbDescriptor ejb)
      Visits an ejb descriptor
      Specified by:
      accept in interface EjbVisitor
      Parameters:
      ejb - descriptor
    • accept

      public void accept(com.sun.enterprise.deployment.WebService webService)
    • getEjbBundleDescriptor

      protected EjbBundleDescriptorImpl getEjbBundleDescriptor()
      Overrides:
      getEjbBundleDescriptor in class com.sun.enterprise.deployment.util.ComponentValidator
    • getEjbDescriptor

      protected EjbDescriptor getEjbDescriptor()
      Overrides:
      getEjbDescriptor in class com.sun.enterprise.deployment.util.ComponentValidator
    • getApplication

      protected com.sun.enterprise.deployment.Application getApplication()
      Overrides:
      getApplication in class com.sun.enterprise.deployment.util.ComponentValidator
      Returns:
      the Application object if any
    • getBundleDescriptor

      protected com.sun.enterprise.deployment.BundleDescriptor getBundleDescriptor()
      Overrides:
      getBundleDescriptor in class com.sun.enterprise.deployment.util.ComponentValidator
      Returns:
      the bundleDescriptor we are validating