Package net.bluemind.core.rest
Class PromiseServiceProvider
java.lang.Object
net.bluemind.core.rest.PromiseServiceProvider
- All Implemented Interfaces:
IServiceProvider
Server-side service instantation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PromiseServiceProvider
getProvider
(io.vertx.core.Vertx v, SecurityContext sec) static IServiceProvider
getProvider
(io.vertx.core.Vertx v, BmContext context) <T> T
Instantiate a service
-
Field Details
-
defaultDataSource
-
mailboxDataSource
-
-
Constructor Details
-
PromiseServiceProvider
-
-
Method Details
-
instance
Description copied from interface:IServiceProvider
Instantiate a service- Specified by:
instance
in interfaceIServiceProvider
- Parameters:
interfaceClass
- service interface- Returns:
- service instance
- Throws:
ServerFault
- service instantiation failed
-
getProvider
-
getProvider
-
getContext
-
setOrigin
- Specified by:
setOrigin
in interfaceIServiceProvider
-