| Modifier and Type | Field and Description |
|---|---|
protected List<ObjectAttribute> |
ObjectAttribute.attributes |
protected List<ObjectAttribute> |
Factory.attributes |
| Modifier and Type | Method and Description |
|---|---|
static ObjectAttribute |
InjectionXmlConfiguration.readObjectAttribute01(InjectionContext ctx,
net.lecousin.framework.xml.XMLStreamReader xml,
net.lecousin.framework.application.Application app)
Read an attribute from the given XML which must be on the attribute element.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Injection.injectAttribute(InjectionContext ctx,
Object instance,
ObjectAttribute attribute)
Inject the given attribute in the instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Injection.create(InjectionContext ctx,
Class<?> clazz,
List<String> params,
ObjectMethod initMethod,
List<ObjectAttribute> attrs)
Create an object to be injected.
|
static Object |
Injection.create(InjectionContext ctx,
Class<?> clazz,
ObjectMethod initMethod,
List<ObjectAttribute> attrs)
Create an object to be injected.
|
| Constructor and Description |
|---|
Factory(Class<?> baseType,
Class<?> implType,
ObjectMethod initMethod,
List<ObjectAttribute> attributes,
String id)
Constructor.
|
ObjectAttribute(String name,
Class<?> clazz,
List<String> parameters,
List<ObjectAttribute> attributes)
Contructor.
|
Copyright © 2018. All rights reserved.