Class WSDLManagerImpl

    • Method Detail

      • setBus

        public final void setBus​(Bus b)
      • getWSDLFactory

        public javax.wsdl.factory.WSDLFactory getWSDLFactory()
        Description copied from interface: WSDLManager
        Returns the WSDLFactory that is used to read/write WSDL definitions
        Specified by:
        getWSDLFactory in interface WSDLManager
        Returns:
        the WSDLFactory
      • getDefinitions

        public Map<Object,​javax.wsdl.Definition> getDefinitions()
        Specified by:
        getDefinitions in interface WSDLManager
        Returns:
        all Definitions in the map
      • getBus

        protected Bus getBus()
      • getExtensionRegistry

        public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
        Description copied from interface: WSDLManager
        Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files. Users can use this to register their own extensors.
        Specified by:
        getExtensionRegistry in interface WSDLManager
        Returns:
        the ExtensionRegistry
      • getDefinition

        public javax.wsdl.Definition getDefinition​(String url)
                                            throws javax.wsdl.WSDLException
        Description copied from interface: WSDLManager
        Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.
        Specified by:
        getDefinition in interface WSDLManager
        Parameters:
        url - - the location of the WSDL to load
        Returns:
        the wsdl definition
        Throws:
        javax.wsdl.WSDLException
      • getDefinition

        public javax.wsdl.Definition getDefinition​(Element el)
                                            throws javax.wsdl.WSDLException
        Description copied from interface: WSDLManager
        Get the WSDL definition for the given Element. Implementations may return a copy from a local cache or load a new copy from the Element.
        Specified by:
        getDefinition in interface WSDLManager
        Parameters:
        el - - the root element of the wsdl
        Returns:
        the wsdl definition
        Throws:
        javax.wsdl.WSDLException
      • addDefinition

        public void addDefinition​(Object key,
                                  javax.wsdl.Definition wsdl)
        Description copied from interface: WSDLManager
        Adds a definition into the cache for lookup later
        Specified by:
        addDefinition in interface WSDLManager
      • loadDefinition

        protected javax.wsdl.Definition loadDefinition​(String url)
                                                throws javax.wsdl.WSDLException
        Throws:
        javax.wsdl.WSDLException
      • getSchemasForDefinition

        public ServiceSchemaInfo getSchemasForDefinition​(javax.wsdl.Definition wsdl)
        Description copied from interface: WSDLManager
        This object will cache the schemas for a WSDL.
        Specified by:
        getSchemasForDefinition in interface WSDLManager
        Returns:
        the cache of all the schemas in the wsdl
      • isDisableSchemaCache

        public boolean isDisableSchemaCache()
      • setDisableSchemaCache

        public void setDisableSchemaCache​(boolean disableSchemaCache)
        There's a test that 'fails' by succeeding if the cache is operational.
        Parameters:
        disableSchemaCache -
      • removeDefinition

        public void removeDefinition​(javax.wsdl.Definition wsdl)
        Description copied from interface: WSDLManager
        If the definition is cached, remove it from the cache
        Specified by:
        removeDefinition in interface WSDLManager
      • removeDefinition

        public void removeDefinition​(String url)
        Description copied from interface: WSDLManager
        If the definition is cached, remove it from the cache
        Specified by:
        removeDefinition in interface WSDLManager