Package jadex.publishservice
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 -
Method Summary
Modifier and TypeMethodDescriptionjadex.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
The publish type web service.- See Also:
-
PUBLISH_RS
The publish type rest service.- See Also:
-
DEFAULT_RSPUBLISH_COMPONENTS
The default publish implementations for rest.
-
-
Method Details
-
isSupported
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.
-