Class DefaultWebServicePublishService

  • All Implemented Interfaces:
    IPublishService

    public class DefaultWebServicePublishService
    extends java.lang.Object
    implements IPublishService
    The default web service publish service. Publishes web services using the JDK Endpoint class.
    • Field Detail

      • endpoints

        protected java.util.Map<IServiceIdentifier,​javax.xml.ws.Endpoint> endpoints
        The published endpoints.
    • Constructor Detail

      • DefaultWebServicePublishService

        public DefaultWebServicePublishService()
    • Method Detail

      • isSupported

        public IFuture<java.lang.Boolean> isSupported​(java.lang.String publishtype)
        Test if publishing a specific type is supported (e.g. web service).
        Specified by:
        isSupported in interface IPublishService
        Parameters:
        publishtype - The type to test.
        Returns:
        True, if can be published.
      • createProxy

        protected java.lang.Object createProxy​(IService service,
                                               java.lang.ClassLoader classloader,
                                               java.lang.Class<?> type)
        Create a service proxy.
        Parameters:
        service - The Jadex service.
        classloader - The classloader.
        type - The web service interface type.
        Returns:
        The proxy object.
      • getProxyClass

        protected java.lang.Class<?> getProxyClass​(java.lang.Class<?> type,
                                                   java.lang.ClassLoader classloader)
        Get the proxy class for a web service interface type. The method generates a new proxy class if called the first time for a specific service interface.
        Parameters:
        type - The interface service type.
        classloader - The class loader.
        Returns:
        The (possibly newly generated) proxy class.