org.glassfish.webservices.connector
Class WebServicesSniffer

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericSniffer
      extended by org.glassfish.webservices.connector.WebServicesSniffer
All Implemented Interfaces:
Sniffer

@Service(name="webservices")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class WebServicesSniffer
extends GenericSniffer

This is the Sniffer for Webservices

Author:
Bhakti Mehta

Field Summary
 
Fields inherited from class org.glassfish.internal.deployment.GenericSniffer
modulesRegistry
 
Constructor Summary
WebServicesSniffer()
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation>[] getAnnotationTypes()
           
 java.lang.String[] getContainersNames()
           
 java.lang.String[] getURLPatterns()
           
 boolean handles(ReadableArchive location, java.lang.ClassLoader loader)
          .ear (the resource can be present in lib dir of the ear) Returns true if the archive contains webservices.xml either in WEB-INF or META-INF directories
 boolean isUserVisible()
           
 
Methods inherited from class org.glassfish.internal.deployment.GenericSniffer
equals, getDeploymentConfigurationPaths, getDeploymentConfigurations, getIncompatibleSnifferTypes, getModuleType, hashCode, setup, tearDown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServicesSniffer

public WebServicesSniffer()
Method Detail

handles

public boolean handles(ReadableArchive location,
                       java.lang.ClassLoader loader)
.ear (the resource can be present in lib dir of the ear) Returns true if the archive contains webservices.xml either in WEB-INF or META-INF directories

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

getContainersNames

public java.lang.String[] getContainersNames()

getAnnotationTypes

public java.lang.Class<? extends java.lang.annotation.Annotation>[] getAnnotationTypes()
Specified by:
getAnnotationTypes in interface Sniffer
Overrides:
getAnnotationTypes in class GenericSniffer

isUserVisible

public boolean isUserVisible()
Specified by:
isUserVisible in interface Sniffer
Overrides:
isUserVisible in class GenericSniffer

getURLPatterns

public java.lang.String[] getURLPatterns()
Specified by:
getURLPatterns in interface Sniffer
Overrides:
getURLPatterns in class GenericSniffer


Copyright © 2012 GlassFish Community. All Rights Reserved.