public interface IExternalProvidedServicesFeature
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
addService(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object service)
Add a service to the container.
|
IFuture<java.lang.Void> |
addService(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object service,
PublishInfo pi,
ServiceScope scope)
Add a service to the platform.
|
IFuture<java.lang.Void> |
addService(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object service,
java.lang.String proxytype)
Add a service to the platform.
|
IFuture<java.lang.Void> |
removeService(IServiceIdentifier sid)
Removes a service from the container (shutdowns also the service if the container is running).
|
IFuture<java.lang.Void> |
setTags(IServiceIdentifier sid,
java.lang.String... tags)
Sets the tags of a service.
|
IFuture<java.lang.Void> addService(java.lang.String name, java.lang.Class<?> type, java.lang.Object service)
service
- The service.info
- The provided service info.IFuture<java.lang.Void> addService(java.lang.String name, java.lang.Class<?> type, java.lang.Object service, java.lang.String proxytype)
type
- The public service interface.service
- The service.type
- The proxy type (@see{BasicServiceInvocationHandler}).IFuture<java.lang.Void> addService(java.lang.String name, java.lang.Class<?> type, java.lang.Object service, PublishInfo pi, ServiceScope scope)
type
- The public service interface.service
- The service.scope
- The service scope.IFuture<java.lang.Void> setTags(IServiceIdentifier sid, java.lang.String... tags)
sid
- The Service identifier.tags
- The tags.IFuture<java.lang.Void> removeService(IServiceIdentifier sid)
service
- The service identifier.