public class VertxContext extends java.lang.Object implements Context, org.hibernate.service.spi.ServiceRegistryAwareService
Context
.Context.Key<T>
Constructor and Description |
---|
VertxContext() |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Runnable runnable)
Run the given command in a context.
|
<T> T |
get(Context.Key<T> key)
Get a value associated with the current reactive stream,
or return null.
|
void |
injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) |
<T> void |
put(Context.Key<T> key,
T instance)
Associate a value with the current reactive stream.
|
void |
remove(Context.Key<?> key)
Remove a value associated with the current reactive stream.
|
public void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry)
injectServices
in interface org.hibernate.service.spi.ServiceRegistryAwareService
public <T> void put(Context.Key<T> key, T instance)
Context
public <T> T get(Context.Key<T> key)
Context
public void remove(Context.Key<?> key)
Context
public void execute(java.lang.Runnable runnable)
Context