org.glassfish.internal.deployment
Class GenericCompositeSniffer
java.lang.Object
org.glassfish.internal.deployment.GenericSniffer
org.glassfish.internal.deployment.GenericCompositeSniffer
- All Implemented Interfaces:
- CompositeSniffer, Sniffer
public abstract class GenericCompositeSniffer
- extends GenericSniffer
- implements CompositeSniffer
Generic implementation of the Sniffer service that can be programmatically instantiated
|
Method Summary |
boolean |
handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this
composite sniffer. |
| Methods inherited from class org.glassfish.internal.deployment.GenericSniffer |
equals, getAnnotationTypes, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, handles, hashCode, isUserVisible, setup, tearDown |
GenericCompositeSniffer
public GenericCompositeSniffer(String containerName,
String appStigma,
String urlPattern)
handles
public boolean handles(DeploymentContext context)
- Returns true if the passed file or directory is recognized by this
composite sniffer.
- Specified by:
handles in interface CompositeSniffer
- Parameters:
context - deployment context
- Returns:
- true if the location is recognized by this sniffer
Copyright © 2012 GlassFish Community. All Rights Reserved.