@Service(name="AppClient") @Singleton public class AppClientSniffer extends GenericSniffer
habitat, modulesRegistry
Constructor and Description |
---|
AppClientSniffer() |
AppClientSniffer(String containerName,
String appStigma,
String urlPattern) |
Modifier and Type | Method and Description |
---|---|
String[] |
getContainersNames()
Returns the list of Containers that this Sniffer enables.
|
protected List<String> |
getDeploymentConfigurationPaths()
Returns the descriptor paths that might exist in an appclient 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, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurations, getModuleType, getURLPatterns, handles, hashCode, setup, tearDown
public String[] getContainersNames()
Sniffer
public boolean handles(ReadableArchive location)
handles
in interface Sniffer
handles
in class GenericSniffer
location
- the file or directory to explorepublic boolean isUserVisible()
isUserVisible
in interface Sniffer
isUserVisible
in class GenericSniffer
public boolean isJavaEE()
isJavaEE
in interface Sniffer
isJavaEE
in class GenericSniffer
public String[] getIncompatibleSnifferTypes()
getIncompatibleSnifferTypes
in interface Sniffer
getIncompatibleSnifferTypes
in class GenericSniffer
public boolean supportsArchiveType(ArchiveType archiveType)
archiveType
- the archive type to checkprotected List<String> getDeploymentConfigurationPaths()
getDeploymentConfigurationPaths
in class GenericSniffer
Copyright © 2019. All rights reserved.