Package | Description |
---|---|
org.jboss.errai.ioc.client.container | |
org.jboss.errai.ioc.client.container.async |
Modifier and Type | Field and Description |
---|---|
protected Map<BeanRef,List<ProxyResolver>> |
AbstractCreationalContext.unresolvedProxies |
protected Map<BeanRef,Object> |
AbstractCreationalContext.wired |
Modifier and Type | Method and Description |
---|---|
BeanRef |
CreationalContext.getBeanReference(Class<?> beanType,
Annotation[] qualifiers)
Returns a
BeanRef which matches the specified type and qualifiers whether or not the bean is within
the creational context or not. |
BeanRef |
AbstractCreationalContext.getBeanReference(Class<?> beanType,
Annotation[] qualifiers)
Returns a
BeanRef which matches the specified type and qualifiers whether or not the bean is within
the creational context or not. |
Modifier and Type | Method and Description |
---|---|
Set<BeanRef> |
CreationalContext.getAllCreatedBeans()
Returns a list of all created beans within this creational context.
|
Set<BeanRef> |
AbstractCreationalContext.getAllCreatedBeans()
Returns a list of all created beans within this creational context.
|
Modifier and Type | Method and Description |
---|---|
void |
CreationalContext.addBean(BeanRef ref,
Object instance)
Adds a bean to the creational context based on the
BeanRef with a reference to the an actual instantiated
instance of the bean. |
void |
AbstractCreationalContext.addBean(BeanRef ref,
Object instance)
Adds a bean to the creational context based on the
BeanRef with a reference to the an actual instantiated
instance of the bean. |
<T> T |
AbstractCreationalContext.getWiredOrNew(BeanRef ref,
javax.inject.Provider<T> provider)
Return a wired instance within the current creational context, or in the absence of an existing context,
invoke the specified provider to create the instance.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
AsyncCreationalContext.addWait(BeanRef beanRef,
CreationalCallback<T> callback)
Add a
CreationalCallback to the wait queue. |
<T> void |
AsyncCreationalContext.notifyAllWaiting(BeanRef beanRef,
T instance)
Notify all waiting callbacks for the instance result from the specified bean provider.
|
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.