org.glassfish.internal.deployment
Class GenericCompositeSniffer

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericSniffer
      extended by 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


Field Summary
 
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
modulesRegistry
 
Constructor Summary
GenericCompositeSniffer(String containerName, String appStigma, String urlPattern)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.api.container.Sniffer
getAnnotationTypes, getContainersNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, handles, isUserVisible, setup, tearDown
 

Constructor Detail

GenericCompositeSniffer

public GenericCompositeSniffer(String containerName,
                               String appStigma,
                               String urlPattern)
Method Detail

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.