Class GrizzlyAdapterSniffer

  • All Implemented Interfaces:
    Sniffer

    @Service(name="grizzly")
    public class GrizzlyAdapterSniffer
    extends GenericSniffer
    Sniffs raw grizzly adapters in jar files
    Author:
    Jerome Dochez
    • Constructor Detail

      • GrizzlyAdapterSniffer

        public GrizzlyAdapterSniffer()
    • Method Detail

      • getContainersNames

        public String[] getContainersNames()
        Description copied from interface: Sniffer
        Returns the list of Containers that this Sniffer enables. The runtime will look up each container implementing using the names provided in the habitat.
        Returns:
        list of container names known to the habitat for this sniffer
      • supportsArchiveType

        public boolean supportsArchiveType​(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.
        Parameters:
        archiveType - the archive type to check
        Returns:
        whether the sniffer supports the archive type