Interface IPublishService

All Known Subinterfaces:
IPublishServiceFeature, IWebPublishService
All Known Implementing Classes:
PublishServiceFeature

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

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
    The default publish implementations for rest.
    static final String
    The publish type rest service.
    static final String
    The publish type web service.
  • Method Summary

    Modifier and Type
    Method
    Description
    jadex.future.IFuture<Boolean>
    isSupported(String publishtype)
    Test if publishing a specific type is supported (e.g.
    jadex.future.IFuture<Void>
    publishService(jadex.providedservice.IServiceIdentifier serviceid, PublishInfo pi)
    Publish a service.
    void
    unpublishService(jadex.providedservice.IServiceIdentifier sid)
    Unpublish a service.
  • Field Details

    • PUBLISH_WS

      static final String PUBLISH_WS
      The publish type web service.
      See Also:
    • PUBLISH_RS

      static final String PUBLISH_RS
      The publish type rest service.
      See Also:
    • DEFAULT_RSPUBLISH_COMPONENTS

      static final String[] DEFAULT_RSPUBLISH_COMPONENTS
      The default publish implementations for rest.
  • Method Details

    • isSupported

      jadex.future.IFuture<Boolean> isSupported(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

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

      void unpublishService(jadex.providedservice.IServiceIdentifier sid)
      Unpublish a service.
      Parameters:
      sid - The service identifier.