Class JPACompositeSniffer

  • All Implemented Interfaces:
    org.glassfish.api.container.Sniffer

    @Service(name="jpaCompositeSniffer")
    @Singleton
    public class JPACompositeSniffer
    extends JPASniffer
    Sniffer handling ears
    Author:
    Mitesh Meswani
    • Field Summary

      • Fields inherited from class org.glassfish.internal.deployment.GenericSniffer

        habitat, modulesRegistry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean handles​(org.glassfish.api.deployment.DeploymentContext context)
      Decides whether we have any pu roots at ear level
      boolean supportsArchiveType​(org.glassfish.api.deployment.archive.ArchiveType archiveType)
      This API is used to help determine if the sniffer should recognize the current archive.
      • Methods inherited from class org.glassfish.internal.deployment.GenericSniffer

        equals, getAnnotationNames, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, hashCode, isJavaEE, isUserVisible, setup, tearDown
    • Constructor Detail

      • JPACompositeSniffer

        public JPACompositeSniffer()
    • Method Detail

      • handles

        public boolean handles​(org.glassfish.api.deployment.DeploymentContext context)
        Decides whether we have any pu roots at ear level
        Specified by:
        handles in interface org.glassfish.api.container.Sniffer
        Overrides:
        handles in class org.glassfish.internal.deployment.GenericSniffer
      • supportsArchiveType

        public boolean supportsArchiveType​(org.glassfish.api.deployment.archive.ArchiveType archiveType)
        This API is used to help determine if the sniffer should recognize the current archive. If the sniffer does not support the archive type associated with the current deployment, the sniffer should not recognize the archive.
        Specified by:
        supportsArchiveType in interface org.glassfish.api.container.Sniffer
        Overrides:
        supportsArchiveType in class JPASniffer
        Parameters:
        archiveType - the archive type to check
        Returns:
        whether the sniffer supports the archive type