@Service(name="connector") @Singleton public class ConnectorSniffer extends GenericSniffer
habitat, modulesRegistry| Constructor and Description |
|---|
ConnectorSniffer() |
| 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 in a connector app.
|
String[] |
getIncompatibleSnifferTypes() |
String |
getModuleType()
Returns the Module type
|
boolean |
handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
sniffer.
|
boolean |
isJavaEE() |
boolean |
isUserVisible() |
com.sun.enterprise.module.Module[] |
setup(String containerHome,
Logger logger)
Sets up the container libraries so that any imported bundle from the
connector jar file will now be known to the module subsystem
|
boolean |
supportsArchiveType(ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
equals, getAnnotationNames, getContainerModuleNames, getDeploymentConfigurations, getURLPatterns, handles, hashCode, tearDownpublic com.sun.enterprise.module.Module[] setup(String containerHome, Logger logger) throws IOException
setup in interface Sniffersetup in class GenericSniffercontainerHome - is where the container implementation resideslogger - the logger to useIOException - exception if something goes sourpublic String[] getContainersNames()
public String getModuleType()
getModuleType in interface SniffergetModuleType in class GenericSnifferpublic Class<? extends Annotation>[] getAnnotationTypes()
getAnnotationTypes 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 handles(DeploymentContext context)
handles in interface Snifferhandles in class GenericSniffercontext - deployment contextpublic boolean supportsArchiveType(ArchiveType archiveType)
archiveType - the archive type to checkprotected List<String> getDeploymentConfigurationPaths()
getDeploymentConfigurationPaths in class GenericSnifferCopyright © 2017. All rights reserved.