Class JPACompositeSniffer
java.lang.Object
org.glassfish.internal.deployment.GenericSniffer
org.glassfish.persistence.jpaconnector.JPASniffer
org.glassfish.persistence.jpaconnector.JPACompositeSniffer
- All Implemented Interfaces:
org.glassfish.api.container.Sniffer
Sniffer handling ears
- Author:
- Mitesh Meswani
-
Field Summary
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
habitat, modulesRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandles(org.glassfish.api.deployment.DeploymentContext context) Decides whether we have any pu roots at ear levelbooleansupportsArchiveType(org.glassfish.api.deployment.archive.ArchiveType archiveType) This API is used to help determine if the sniffer should recognize the current archive.Methods inherited from class org.glassfish.persistence.jpaconnector.JPASniffer
getContainersNames, handles, scanForPURootsInLibDirMethods inherited from class org.glassfish.internal.deployment.GenericSniffer
equals, getAnnotationNames, getAnnotationTypes, getContainerModuleNames, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, hashCode, isJakartaEE, isUserVisible, setup, tearDown
-
Constructor Details
-
JPACompositeSniffer
public JPACompositeSniffer()
-
-
Method Details
-
handles
public boolean handles(org.glassfish.api.deployment.DeploymentContext context) Decides whether we have any pu roots at ear level- Specified by:
handlesin interfaceorg.glassfish.api.container.Sniffer- Overrides:
handlesin classorg.glassfish.internal.deployment.GenericSniffer
-
supportsArchiveType
public boolean supportsArchiveType(org.glassfish.api.deployment.archive.ArchiveType archiveType) This API is used to help determine if the sniffer should recognize the current archive. If the sniffer does not support the archive type associated with the current deployment, the sniffer should not recognize the archive.- Specified by:
supportsArchiveTypein interfaceorg.glassfish.api.container.Sniffer- Overrides:
supportsArchiveTypein classJPASniffer- Parameters:
archiveType- the archive type to check- Returns:
- whether the sniffer supports the archive type
-