@Service(name="osgi") public class OSGiSniffer extends GenericSniffer
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_NAME |
habitat, modulesRegistry| Constructor and Description |
|---|
OSGiSniffer() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getContainersNames()
Returns the list of Containers that this Sniffer enables.
|
boolean |
handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
composite sniffer.
|
boolean |
handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
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, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, hashCode, isJavaEE, setup, tearDownpublic static final String CONTAINER_NAME
public boolean handles(ReadableArchive location)
GenericSnifferhandles in interface Snifferhandles in class GenericSnifferlocation - the file or directory to explorepublic String[] getContainersNames()
Snifferpublic boolean isUserVisible()
isUserVisible in interface SnifferisUserVisible in class GenericSnifferpublic boolean handles(DeploymentContext context)
GenericSnifferhandles in interface Snifferhandles in class GenericSniffercontext - deployment contextpublic boolean supportsArchiveType(ArchiveType archiveType)
archiveType - the archive type to checkCopyright © 2017. All rights reserved.