BeanContext via the ExecutionContext.getBeanContext() method@Deprecated public class BeanRepositoryManager extends Object
BeanRepository of the current ExecutionContext and the BeanIdRegister
of the current ApplicationContext. It ensures that both objects are correctly instantiated.| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_REPOSITORY_CONTEXT_KEY
Deprecated.
|
static String |
CONTEXT_KEY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BeanIdRegister |
getBeanIdRegister()
Deprecated.
|
static BeanRepository |
getBeanRepository(ExecutionContext executionContext)
Deprecated.
|
static BeanRepositoryManager |
getInstance(ApplicationContext applicationContext)
Deprecated.
Returns the instance of the
BeanRepositoryManager, which is bound to the
given ApplicationContext. |
public static final String CONTEXT_KEY
public static final String BEAN_REPOSITORY_CONTEXT_KEY
public static BeanRepositoryManager getInstance(ApplicationContext applicationContext)
BeanRepositoryManager, which is bound to the
given ApplicationContext. If the BeanRepositoryManager doesn't
exist yet, then one is created.applicationContext - The ApplicationContext to which the instance is boundBeanRepositoryManager instance of the given ApplicationContextpublic BeanIdRegister getBeanIdRegister()
BeanIdRegister of the bound ApplicationContextpublic static BeanRepository getBeanRepository(ExecutionContext executionContext)
Copyright © 2015. All rights reserved.