|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AutowireCapablePlugin
Defines a plugin that is capable of creating and autowiring beans. The name and autowire types copied from Spring's AutowireCapableBeanFactory.
| Nested Class Summary | |
|---|---|
static class |
AutowireCapablePlugin.AutowireStrategy
The autowire strategy to use when creating and wiring a bean |
| Method Summary | ||
|---|---|---|
|
autowire(java.lang.Class<T> clazz)
Creates and autowires a class using the default strategy. |
|
|
autowire(java.lang.Class<T> clazz,
AutowireCapablePlugin.AutowireStrategy autowireStrategy)
Creates and autowires a class with a specific autowire strategy |
|
void |
autowire(java.lang.Object instance)
Autowires an existing object using the default strategy. |
|
void |
autowire(java.lang.Object instance,
AutowireCapablePlugin.AutowireStrategy autowireStrategy)
Autowires an existing object with a specific autowire strategy |
|
| Method Detail |
|---|
<T> T autowire(java.lang.Class<T> clazz)
clazz - The class to create
<T> T autowire(java.lang.Class<T> clazz,
AutowireCapablePlugin.AutowireStrategy autowireStrategy)
clazz - The class to createautowireStrategy - The autowire strategy
void autowire(java.lang.Object instance)
instance - The object to inject
void autowire(java.lang.Object instance,
AutowireCapablePlugin.AutowireStrategy autowireStrategy)
instance - The object to autowireautowireStrategy - The autowire strategy, must not be constructor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||