@Service(name="weld") @Singleton public class WeldSniffer extends GenericSniffer
habitat, modulesRegistry| Constructor and Description |
|---|
WeldSniffer() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAnnotationNames(DeploymentContext context)
Returns the list of annotation names that this sniffer is interested in.
|
String[] |
getContainersNames()
Returns the list of Containers that this Sniffer enables.
|
boolean |
handles(DeploymentContext context)
Returns true if the archive contains beans.xml as defined by packaging rules of Weld
|
protected boolean |
isArchiveCDIEnabled(DeploymentContext context,
ReadableArchive archive,
String relativeBeansXmlPath) |
protected boolean |
isEntryPresent(ReadableArchive archive,
String entry) |
boolean |
supportsArchiveType(ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
equals, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, handles, hashCode, isJavaEE, isUserVisible, setup, tearDownpublic boolean handles(DeploymentContext context)
handles in interface Snifferhandles in class GenericSniffercontext - deployment contextprotected boolean isEntryPresent(ReadableArchive archive, String entry)
protected boolean isArchiveCDIEnabled(DeploymentContext context, ReadableArchive archive, String relativeBeansXmlPath)
public String[] getContainersNames()
Snifferpublic boolean supportsArchiveType(ArchiveType archiveType)
archiveType - the archive type to checkpublic String[] getAnnotationNames(DeploymentContext context)
GenericSniffergetAnnotationNames in interface SniffergetAnnotationNames in class GenericSniffercontext - deployment contextCopyright © 2019. All rights reserved.