org.glassfish.webservices.connector
Class WebServicesSniffer
java.lang.Object
org.glassfish.internal.deployment.GenericSniffer
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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
WebServicesSniffer
public WebServicesSniffer()
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.