org.glassfish.weld
Class WeldSniffer

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericSniffer
      extended by org.glassfish.weld.WeldSniffer
All Implemented Interfaces:
Sniffer
Direct Known Subclasses:
WeldCompositeSniffer

@Service(name="weld")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class WeldSniffer
extends GenericSniffer
implements Sniffer

Implementation of the Sniffer for Weld.


Field Summary
 
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
modulesRegistry
 
Constructor Summary
WeldSniffer()
           
 
Method Summary
 java.lang.String[] getContainersNames()
           
 boolean handles(ReadableArchive archive, java.lang.ClassLoader loader)
          Returns true if the archive contains beans.xml as defined by packaging rules of Weld
 
Methods inherited from class org.glassfish.internal.deployment.GenericSniffer
equals, getAnnotationTypes, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, 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, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, getURLPatterns, isUserVisible, setup, tearDown
 

Constructor Detail

WeldSniffer

public WeldSniffer()
Method Detail

handles

public boolean handles(ReadableArchive archive,
                       java.lang.ClassLoader loader)
Returns true if the archive contains beans.xml as defined by packaging rules of Weld

Specified by:
handles in interface Sniffer
Overrides:
handles in class GenericSniffer

getContainersNames

public java.lang.String[] getContainersNames()
Specified by:
getContainersNames in interface Sniffer


Copyright © 2012 GlassFish Community. All Rights Reserved.