Package | Description |
---|---|
org.jboss.errai.ioc.client | |
org.jboss.errai.ioc.client.container |
Modifier and Type | Method and Description |
---|---|
void |
SimpleInjectionContext.addBean(Class type,
Class beanType,
BeanProvider callback,
Object instance,
Annotation[] qualifiers) |
void |
SimpleInjectionContext.addBean(Class type,
Class beanType,
BeanProvider callback,
Object instance,
Annotation[] qualifiers,
String name) |
void |
SimpleInjectionContext.addBean(Class type,
Class beanType,
BeanProvider callback,
Object instance,
Annotation[] qualifiers,
String name,
boolean concrete) |
void |
SimpleInjectionContext.addBean(Class type,
Class beanType,
BeanProvider callback,
Object instance,
Annotation[] qualifiers,
String name,
boolean concrete,
Class beanActivatorType) |
Modifier and Type | Field and Description |
---|---|
protected BeanProvider<T> |
IOCDependentBean.beanProvider |
Modifier and Type | Method and Description |
---|---|
void |
SyncBeanManagerSetup.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers)
Register a bean with the manager.
|
void |
SyncBeanManagerImpl.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers) |
void |
SyncBeanManagerSetup.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers,
String name)
Register a bean with the manager with a name.
|
void |
SyncBeanManagerImpl.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers,
String name) |
void |
SyncBeanManagerSetup.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers,
String name,
boolean concreteType,
Class<Object> beanActivatorType)
Register a bean with the manager with a name as well as specifying whether the bean should be
treated a concrete type.
|
void |
SyncBeanManagerImpl.addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers,
String name,
boolean concreteType,
Class<Object> beanActivatorType) |
<T> T |
SimpleCreationalContext.getInstanceOrNew(BeanProvider<T> callback,
Class<?> beanType,
Annotation[] qualifiers)
Returns the instance of the specified bean of matching type and qualifiers, or if there is no matching bean within
the context, the specified
BeanProvider is called to instantiate and add the bean to the context. |
<T> T |
SimpleCreationalContext.getSingletonInstanceOrNew(SimpleInjectionContext injectionContext,
BeanProvider<T> callback,
Class<?> beanType,
Annotation[] qualifiers)
Returns the instance of the specified bean of matching type and qualifiers, or if there is no matching bean within
the context, an instance of the bean will be obtained from the
SimpleInjectionContext . |
static <T> IOCBeanDef<T> |
IOCDependentBean.newBean(SyncBeanManagerImpl beanManager,
Class<T> type,
Class<?> beanType,
Annotation[] qualifiers,
String name,
boolean concrete,
BeanProvider<T> callback,
Class<Object> beanActivatorType) |
static <T> IOCBeanDef<T> |
IOCSingletonBean.newBean(SyncBeanManagerImpl beanManager,
Class<T> type,
Class<?> beanType,
Annotation[] qualifiers,
String name,
boolean concrete,
BeanProvider<T> callback,
T instance,
Class<Object> beanActivatorType)
Creates a new IOC Bean reference
|
Constructor and Description |
---|
IOCDependentBean(SyncBeanManagerImpl beanManager,
Class<T> type,
Class<?> beanType,
Annotation[] qualifiers,
String name,
boolean concrete,
BeanProvider<T> beanProvider,
Class<Object> beanActivatorType) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.