Class PayaraResourcesCompositeSniffer
- java.lang.Object
-
- org.glassfish.internal.deployment.GenericSniffer
-
- org.glassfish.resources.connector.ResourcesCompositeSniffer
-
- org.glassfish.resources.connector.PayaraResourcesCompositeSniffer
-
- All Implemented Interfaces:
Sniffer
@Service(name="payara-resources_ear") public class PayaraResourcesCompositeSniffer extends ResourcesCompositeSniffer
- Since:
- 5.184
- Author:
- jonathan coustick
-
-
Field Summary
-
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
habitat, modulesRegistry
-
-
Constructor Summary
Constructors Constructor Description PayaraResourcesCompositeSniffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModuleType()Returns the Module typebooleanhandles(ReadableArchive archive)Returns true if the passed file or directory is recognized by this instance.-
Methods inherited from class org.glassfish.resources.connector.ResourcesCompositeSniffer
getContainersNames, getDeploymentConfigurationPaths, supportsArchiveType
-
Methods inherited from class org.glassfish.internal.deployment.GenericSniffer
equals, getAnnotationNames, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getURLPatterns, handles, hashCode, isJavaEE, isUserVisible, setup, tearDown
-
-
-
-
Method Detail
-
getModuleType
public String getModuleType()
Description copied from class:ResourcesCompositeSnifferReturns the Module type- Specified by:
getModuleTypein interfaceSniffer- Overrides:
getModuleTypein classResourcesCompositeSniffer- Returns:
- the container name
-
handles
public boolean handles(ReadableArchive archive)
Description copied from class:ResourcesCompositeSnifferReturns true if the passed file or directory is recognized by this instance.- Specified by:
handlesin interfaceSniffer- Overrides:
handlesin classResourcesCompositeSniffer- Parameters:
archive- the file or directory to explore- Returns:
- true if this sniffer handles this application type
-
-