@Service @PerLookup public class MetricsSniffer extends MicroProfileSniffer
Constructor and Description |
---|
MetricsSniffer() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation>[] |
getAnnotationTypes()
Returns the list of annotations types that this sniffer is interested in.
|
protected Class<?> |
getContainersClass() |
String |
getModuleType()
Returns the container type associated with this sniffer
|
boolean |
handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
sniffer.
|
boolean |
handles(ReadableArchive archive)
Returns true if the passed file or directory is recognized by this
sniffer.
|
getAnnotationNames, getContainersNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getURLPatterns, isJavaEE, isUserVisible, setup, supportsArchiveType, tearDown
public Class<? extends Annotation>[] getAnnotationTypes()
Sniffer
public boolean handles(DeploymentContext context)
Sniffer
handles
in interface Sniffer
handles
in class MicroProfileSniffer
context
- deployment contextpublic boolean handles(ReadableArchive archive)
Sniffer
handles
in interface Sniffer
handles
in class MicroProfileSniffer
archive
- the file or directory abstracted as an archive
resources from the source archive.protected Class<?> getContainersClass()
getContainersClass
in class MicroProfileSniffer
Copyright © 2021. All rights reserved.