@Service(name="Ejb") @Singleton public class EjbSniffer extends GenericSniffer
habitat, modulesRegistry| Constructor and Description |
|---|
EjbSniffer() |
EjbSniffer(String containerName,
String appStigma,
String urlPattern) |
| 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.
|
protected List<String> |
getDeploymentConfigurationPaths()
Returns the descriptor paths that might exist at an ejb app.
|
String[] |
getIncompatibleSnifferTypes() |
boolean |
handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
isJavaEE() |
boolean |
isUserVisible() |
boolean |
supportsArchiveType(ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
equals, getAnnotationNames, getContainerModuleNames, getDeploymentConfigurations, getModuleType, getURLPatterns, handles, hashCode, setup, tearDownpublic String[] getContainersNames()
Snifferpublic boolean handles(ReadableArchive location)
handles in interface Snifferhandles in class GenericSnifferlocation - the file or directory to explorepublic Class<? extends Annotation>[] getAnnotationTypes()
GenericSniffergetAnnotationTypes in interface SniffergetAnnotationTypes in class GenericSnifferpublic boolean isUserVisible()
isUserVisible in interface SnifferisUserVisible in class GenericSnifferpublic boolean isJavaEE()
isJavaEE in interface SnifferisJavaEE in class GenericSnifferpublic String[] getIncompatibleSnifferTypes()
getIncompatibleSnifferTypes in interface SniffergetIncompatibleSnifferTypes in class GenericSnifferpublic boolean supportsArchiveType(ArchiveType archiveType)
archiveType - the archive type to checkprotected List<String> getDeploymentConfigurationPaths()
getDeploymentConfigurationPaths in class GenericSnifferCopyright © 2017. All rights reserved.