Interface IPublishService
-
- All Known Subinterfaces:
IWebPublishService
- All Known Implementing Classes:
AbstractRestPublishService
,DefaultWebServicePublishService
,ExternalRestPublishService
public interface IPublishService
Service for publishing services in other technologies such as web services.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
DEFAULT_RSPUBLISH_COMPONENTS
The default publish implementations for rest.static java.lang.String
PUBLISH_RS
The publish type rest service.static java.lang.String
PUBLISH_WS
The publish type web service.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Boolean>
isSupported(java.lang.String publishtype)
Test if publishing a specific type is supported (e.g.IFuture<java.lang.Void>
publishService(IServiceIdentifier serviceid, PublishInfo pi)
Publish a service.IFuture<java.lang.Void>
unpublishService(IServiceIdentifier sid)
Unpublish a service.
-
-
-
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.
-
-