Interface IPublishService

  • All Known Subinterfaces:
    IWebPublishService

    public interface IPublishService
    Service for publishing services in other technologies such as web services.
    • Field Detail

      • PUBLISH_WS

        static final java.lang.String PUBLISH_WS
        The publish type web service.
        See Also:
        Constant Field Values
      • PUBLISH_RS

        static final java.lang.String PUBLISH_RS
        The publish type rest service.
        See Also:
        Constant Field Values
      • DEFAULT_RSPUBLISH_COMPONENTS

        static final java.lang.String[] DEFAULT_RSPUBLISH_COMPONENTS
        The default publish implementations for rest.
    • Method Detail

      • isSupported

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

        IFuture<java.lang.Void> publishService​(IServiceIdentifier serviceid,
                                               PublishInfo pi)
        Publish a service.
        Parameters:
        service - The original service.
        pid - The publish id (e.g. url or name).
      • unpublishService

        IFuture<java.lang.Void> unpublishService​(IServiceIdentifier sid)
        Unpublish a service.
        Parameters:
        sid - The service identifier.