public class PromiseServiceProvider extends java.lang.Object implements IServiceProvider
Modifier and Type | Field and Description |
---|---|
static javax.sql.DataSource |
defaultDataSource |
static java.util.Map<java.lang.String,javax.sql.DataSource> |
mailboxDataSource |
Constructor and Description |
---|
PromiseServiceProvider(io.vertx.core.Vertx v,
BmContext context) |
Modifier and Type | Method and Description |
---|---|
BmContext |
getContext() |
static IServiceProvider |
getProvider(io.vertx.core.Vertx v,
BmContext context) |
static PromiseServiceProvider |
getProvider(io.vertx.core.Vertx v,
SecurityContext sec) |
<T> T |
instance(java.lang.Class<T> interfaceClass,
java.lang.String... params)
Instantiate a service
|
public static javax.sql.DataSource defaultDataSource
public static java.util.Map<java.lang.String,javax.sql.DataSource> mailboxDataSource
public PromiseServiceProvider(io.vertx.core.Vertx v, BmContext context)
public <T> T instance(java.lang.Class<T> interfaceClass, java.lang.String... params) throws ServerFault
IServiceProvider
instance
in interface IServiceProvider
interfaceClass
- service interfaceServerFault
- service instantiation failedpublic static PromiseServiceProvider getProvider(io.vertx.core.Vertx v, SecurityContext sec)
public static IServiceProvider getProvider(io.vertx.core.Vertx v, BmContext context)
public BmContext getContext()
Copyright © 2021. All Rights Reserved.