|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncBeanDef<T>
Method Summary | |
---|---|
Class<?> |
getBeanClass()
Returns the actual bean class represented by this bean. |
void |
getInstance(CreationalCallback<T> callback)
Returns an instance of the bean within the active scope. |
void |
getInstance(CreationalCallback<T> callback,
AsyncCreationalContext context)
Returns an instance of the bean within the active scope, using the specified SimpleCreationalContext. |
String |
getName()
Returns the name of the bean. |
Set<Annotation> |
getQualifiers()
Returns any qualifiers associated with the bean. |
Class<? extends Annotation> |
getScope()
Returns the scope of the bean. |
Class<T> |
getType()
Returns the type of the bean. |
boolean |
isActivated()
Returns true if the bean is activated. |
boolean |
isConcrete()
Returns true if the bean is a concrete bean definition and not an interface or abstract type. |
boolean |
matches(Set<Annotation> annotations)
Returns true if the beans qualifiers match the specified set of qualifiers. |
void |
newInstance(CreationalCallback<T> callback)
Returns a new instance of the bean. |
Method Detail |
---|
Class<T> getType()
getBeanClass()
Class<?> getBeanClass()
Class<? extends Annotation> getScope()
void getInstance(CreationalCallback<T> callback)
void getInstance(CreationalCallback<T> callback, AsyncCreationalContext context)
context
- void newInstance(CreationalCallback<T> callback)
Set<Annotation> getQualifiers()
boolean matches(Set<Annotation> annotations)
annotations
- the qualifiers to compare
String getName()
boolean isConcrete()
boolean isActivated()
BeanActivator
was specified using ActivatedBy
which will be consulted when
invoking this method.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |