@Service(name="ear")
public class EarSniffer
extends org.glassfish.internal.deployment.GenericSniffer
| Constructor and Description |
|---|
EarSniffer() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getContainersNames() |
protected List<String> |
getDeploymentConfigurationPaths()
Returns the descriptor paths that might exist at the root of the
ear.
|
boolean |
handles(org.glassfish.api.deployment.DeploymentContext context)
Returns true if the passed file or directory is recognized by this
composite sniffer.
|
boolean |
handles(org.glassfish.api.deployment.archive.ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
isJavaEE() |
boolean |
isUserVisible() |
boolean |
supportsArchiveType(org.glassfish.api.deployment.archive.ArchiveType archiveType)
This API is used to help determine if the sniffer should recognize
the current archive.
|
public String[] getContainersNames()
public boolean handles(org.glassfish.api.deployment.DeploymentContext context)
handles in interface org.glassfish.api.container.Snifferhandles in class org.glassfish.internal.deployment.GenericSniffercontext - deployment contextpublic boolean handles(org.glassfish.api.deployment.archive.ReadableArchive location)
handles in interface org.glassfish.api.container.Snifferhandles in class org.glassfish.internal.deployment.GenericSnifferlocation - the file or directory to explorepublic boolean isUserVisible()
isUserVisible in interface org.glassfish.api.container.SnifferisUserVisible in class org.glassfish.internal.deployment.GenericSnifferpublic boolean isJavaEE()
isJavaEE in interface org.glassfish.api.container.SnifferisJavaEE in class org.glassfish.internal.deployment.GenericSnifferpublic boolean supportsArchiveType(org.glassfish.api.deployment.archive.ArchiveType archiveType)
archiveType - the archive type to checkprotected List<String> getDeploymentConfigurationPaths()
getDeploymentConfigurationPaths in class org.glassfish.internal.deployment.GenericSnifferCopyright © 2018 Eclipse Foundation. All rights reserved.