public interface IPublishService
Modifier and Type | Field and Description |
---|---|
static String |
PUBLISH_RS
The publish type rest service.
|
static String |
PUBLISH_WS
The publish type web service.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Boolean> |
isSupported(String publishtype)
Test if publishing a specific type is supported (e.g.
|
IFuture<Void> |
publishService(ClassLoader cl,
IService service,
PublishInfo pi)
Publish a service.
|
IFuture<Void> |
unpublishService(IServiceIdentifier sid)
Unpublish a service.
|
static final String PUBLISH_WS
static final String PUBLISH_RS
IFuture<Boolean> isSupported(String publishtype)
publishtype
- The type to test.IFuture<Void> publishService(ClassLoader cl, IService service, PublishInfo pi)
cl
- The classloader.service
- The original service.pid
- The publish id (e.g. url or name).IFuture<Void> unpublishService(IServiceIdentifier sid)
sid
- The service identifier.Copyright © 2015. All Rights Reserved.