Class ExternalMetadataFeature


  • public class ExternalMetadataFeature
    extends javax.xml.ws.WebServiceFeature
    WebServiceFeature allowing to define either on server or client side external xml descriptors replacing/supplementing WS metadata provided by class annotations. This can be useful if those annotations are missing (existing non-WS components) or if it is necessary to override those.
    Author:
    Miroslav Kos (miroslav.kos at oracle.com)
    • Method Detail

      • addResources

        public void addResources​(String... resourceNames)
      • getResourceNames

        public List<String> getResourceNames()
      • addFiles

        public void addFiles​(File... files)
      • getFiles

        public List<File> getFiles()
      • isEnabled

        public boolean isEnabled()
        Overrides:
        isEnabled in class javax.xml.ws.WebServiceFeature
      • getID

        public String getID()
        Specified by:
        getID in class javax.xml.ws.WebServiceFeature
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object