org.glassfish.api.container
Interface CompositeSniffer

All Superinterfaces:
Sniffer

@Contract
public interface CompositeSniffer
extends Sniffer

A sniffer implementation is responsible for identifying a composite application.

For clients who want to work with Sniffers, see SnifferManager in the kernel.


Method Summary
 boolean handles(DeploymentContext context)
          Returns true if the passed file or directory is recognized by this composite sniffer.
 
Methods inherited from interface org.glassfish.api.container.Sniffer
getAnnotationTypes, getContainersNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, handles, isUserVisible, setup, tearDown
 

Method Detail

handles

boolean handles(DeploymentContext context)
Returns true if the passed file or directory is recognized by this composite sniffer.

Parameters:
context - deployment context
Returns:
true if the location is recognized by this sniffer


Copyright © 2012 GlassFish Community. All Rights Reserved.