|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyncBeanManagerSetup
Method Summary | |
---|---|
void |
addBean(Class<Object> type,
Class<?> beanType,
BeanProvider<Object> callback,
Object instance,
Annotation[] qualifiers)
Register a bean with the manager. |
void |
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 |
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. |
Method Detail |
---|
void addBean(Class<Object> type, Class<?> beanType, BeanProvider<Object> callback, Object instance, Annotation[] qualifiers)
type
- the bean typebeanType
- the actual type of the beancallback
- the creational callback used to construct the beaninstance
- the instance referencequalifiers
- any qualifiersvoid addBean(Class<Object> type, Class<?> beanType, BeanProvider<Object> callback, Object instance, Annotation[] qualifiers, String name)
type
- the bean typebeanType
- the actual type of the beancallback
- the creational callback used to construct the beaninstance
- the instance referencequalifiers
- any qualifiersname
- the name of the beanvoid addBean(Class<Object> type, Class<?> beanType, BeanProvider<Object> callback, Object instance, Annotation[] qualifiers, String name, boolean concreteType, Class<Object> beanActivatorType)
type
- the bean typebeanType
- the actual type of the beancallback
- the creational callback used to construct the beaninstance
- the instance referencequalifiers
- any qualifiersname
- the name of the beanconcreteType
- true if bean should be treated as concrete (ie. not an interface or abstract type).beanActivator
- the bean activator type to use.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |