@Service(name="webservices") @Singleton public class WebServicesSniffer extends GenericSniffer
habitat, modulesRegistry| Constructor and Description |
|---|
WebServicesSniffer() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation>[] |
getAnnotationTypes()
Returns the list of annotations types that this sniffer is interested in.
|
String[] |
getContainersNames()
Returns the list of Containers that this Sniffer enables.
|
String[] |
getURLPatterns()
Returns the pattern to apply against the request URL
If the pattern matches the URL, the service method of the associated
container will be invoked
|
boolean |
handles(ReadableArchive location)
.ear (the resource can be present in lib dir of the ear)
Returns true if the archive contains webservices.xml either in WEB-INF or META-INF directories
|
boolean |
isUserVisible() |
boolean |
supportsArchiveType(ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
equals, getAnnotationNames, getContainerModuleNames, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, handles, hashCode, isJavaEE, setup, tearDownpublic boolean handles(ReadableArchive location)
handles in interface Snifferhandles in class GenericSnifferlocation - the file or directory to explorepublic String[] getContainersNames()
Snifferpublic Class<? extends Annotation>[] getAnnotationTypes()
GenericSniffergetAnnotationTypes in interface SniffergetAnnotationTypes in class GenericSnifferpublic boolean isUserVisible()
isUserVisible in interface SnifferisUserVisible in class GenericSnifferpublic String[] getURLPatterns()
GenericSniffergetURLPatterns in interface SniffergetURLPatterns in class GenericSnifferpublic boolean supportsArchiveType(ArchiveType archiveType)
archiveType - the archive type to checkCopyright © 2019. All rights reserved.