@ApplicationScoped public class CDIContextManager extends SimpleContextManager
SimpleContextManager.DefaultInstanceStoreFactoryapplication, CONTEXT_CREATE, CONTEXT_DESTROY, eventBus| Modifier | Constructor and Description |
|---|---|
protected |
CDIContextManager() |
|
CDIContextManager(Application application,
EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
Context |
getContext()
Get the global context
|
DataManager |
getDataManager() |
EntityManager |
getEntityManager() |
void |
init() |
addToContextsToDestroy, createContext, destroyContext, destroyContexts, destroyFinishedContexts, getAllContexts, getContext, getContext, isGlobal, newContext, removeFromContextsToDestroy, retrieveContext, setInstanceStoreFactory, updateContextIdprotected CDIContextManager()
@Inject public CDIContextManager(Application application, EventBus eventBus)
@PostConstruct public void init()
@Produces public Context getContext()
ContextManagergetContext in interface ContextManagergetContext in class SimpleContextManager@Produces public EntityManager getEntityManager()
@Produces public DataManager getDataManager()