public class ManagedBeanRegistryImpl extends Object implements ManagedBeanRegistry, BeanContainer.LifecycleOptions, Stoppable
Constructor and Description |
---|
ManagedBeanRegistryImpl(BeanContainer beanContainer) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUseCachedReferences() |
<T> ManagedBean<T> |
getBean(Class<T> beanClass)
Get a bean reference by class.
|
<T> ManagedBean<T> |
getBean(String beanName,
Class<T> beanContract)
Get a bean reference by name and contract.
|
BeanContainer |
getBeanContainer()
Get a reference to the underlying BeanContainer.
|
void |
stop()
Stop phase notification
|
boolean |
useJpaCompliantCreation() |
public ManagedBeanRegistryImpl(BeanContainer beanContainer)
public BeanContainer getBeanContainer()
ManagedBeanRegistry
null
indicating that no back-end container has been configuredgetBeanContainer
in interface ManagedBeanRegistry
public boolean canUseCachedReferences()
canUseCachedReferences
in interface BeanContainer.LifecycleOptions
public boolean useJpaCompliantCreation()
useJpaCompliantCreation
in interface BeanContainer.LifecycleOptions
public <T> ManagedBean<T> getBean(Class<T> beanClass)
ManagedBeanRegistry
getBean
in interface ManagedBeanRegistry
public <T> ManagedBean<T> getBean(String beanName, Class<T> beanContract)
ManagedBeanRegistry
getBean
in interface ManagedBeanRegistry
Copyright © 2019 JBoss by Red Hat. All rights reserved.