public interface IPublishService
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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.
|
static final java.lang.String PUBLISH_WS
static final java.lang.String PUBLISH_RS
static final java.lang.String[] DEFAULT_RSPUBLISH_COMPONENTS
IFuture<java.lang.Boolean> isSupported(java.lang.String publishtype)
publishtype
- The type to test.IFuture<java.lang.Void> publishService(IServiceIdentifier serviceid, PublishInfo pi)
service
- The original service.pid
- The publish id (e.g. url or name).IFuture<java.lang.Void> unpublishService(IServiceIdentifier sid)
sid
- The service identifier.