org.glassfish.javaee.full.deployment
Class EarSniffer
java.lang.Object
org.glassfish.internal.deployment.GenericSniffer
org.glassfish.internal.deployment.GenericCompositeSniffer
org.glassfish.javaee.full.deployment.EarSniffer
- All Implemented Interfaces:
- CompositeSniffer, Sniffer
@Service(name="ear")
public class EarSniffer
- extends GenericCompositeSniffer
Ear sniffers snifs ear files.
- Author:
- Jerome Dochez
EarSniffer
public EarSniffer()
getContainersNames
public String[] getContainersNames()
handles
public boolean handles(ReadableArchive location,
ClassLoader loader)
- Returns true if the passed file or directory is recognized by this
instance.
- Specified by:
handles in interface Sniffer- Overrides:
handles in class GenericSniffer
- Parameters:
location - the file or directory to exploreloader - class loader for this application
- Returns:
- true if this sniffer handles this application type
isUserVisible
public boolean isUserVisible()
- Specified by:
isUserVisible in interface Sniffer- Overrides:
isUserVisible in class GenericSniffer
- Returns:
- whether this sniffer should be visible to user
getDeploymentConfigurationPaths
protected List<String> getDeploymentConfigurationPaths()
- Returns the descriptor paths that might exist at the root of the
ear.
- Overrides:
getDeploymentConfigurationPaths in class GenericSniffer
- Returns:
- list of the deployment descriptor paths
Copyright © 2012 GlassFish Community. All Rights Reserved.