Class PayaraResourcesSniffer
- java.lang.Object
-
- org.glassfish.internal.deployment.GenericSniffer
-
- org.glassfish.resources.connector.ResourcesSniffer
-
- org.glassfish.resources.connector.PayaraResourcesSniffer
-
- All Implemented Interfaces:
Sniffer
@Service(name="payara-resources") public class PayaraResourcesSniffer extends ResourcesSniffer
- Since:
- 5.184
- Author:
- jonathan coustick
-
-
Field Summary
-
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
habitat, modulesRegistry
-
-
Constructor Summary
Constructors Constructor Description PayaraResourcesSniffer()
-
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.ResourcesSniffer
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:ResourcesSnifferReturns the Module type- Specified by:
getModuleTypein interfaceSniffer- Overrides:
getModuleTypein classResourcesSniffer- Returns:
- the container name
-
handles
public boolean handles(ReadableArchive archive)
Description copied from class:ResourcesSnifferReturns true if the passed file or directory is recognized by this instance.- Specified by:
handlesin interfaceSniffer- Overrides:
handlesin classResourcesSniffer- Parameters:
archive- the file or directory to explore- Returns:
- true if this sniffer handles this application type
-
-