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 ApplicationContext
public BeanIdRegister getBeanIdRegister()
BeanIdRegister
of the bound ApplicationContext
public static BeanRepository getBeanRepository(ExecutionContext executionContext)
BeanRepository
of the given ExecutionContext
. If the BeanRepository
does not
exist then one is created. The BeanIdRegister
which is bound to the ApplicationContext
of the given ExecutionContext
is bound to the created BeanRepository
.Copyright © 2015. All rights reserved.