@Service(name="resources_ear") public class ResourcesCompositeSniffer extends GenericSniffer
habitat, modulesRegistry
Constructor and Description |
---|
ResourcesCompositeSniffer() |
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 ear.
|
String |
getModuleType()
Returns the Module type
|
boolean |
handles(ReadableArchive archive)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
supportsArchiveType(ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
equals, getAnnotationNames, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getURLPatterns, handles, hashCode, isJavaEE, isUserVisible, setup, tearDown
public boolean handles(ReadableArchive archive)
handles
in interface Sniffer
handles
in class GenericSniffer
archive
- the file or directory to explorepublic String[] getContainersNames()
public String getModuleType()
getModuleType
in interface Sniffer
getModuleType
in class GenericSniffer
public boolean supportsArchiveType(ArchiveType archiveType)
archiveType
- the archive type to checkprotected List<String> getDeploymentConfigurationPaths()
getDeploymentConfigurationPaths
in class GenericSniffer
Copyright © 2018. All rights reserved.