| Package | Description |
|---|---|
| net.lecousin.framework.injection |
Dependency injection.
|
| net.lecousin.framework.injection.xml |
Parsing injection configuration from XML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectValueClass
Object value instantiating a given class.
|
class |
ObjectValueFromSingletonAttribute
Object value taken from an attribute of an existing singleton.
|
class |
ObjectValueFromSingletonAttributeById
Object value taken from an attribute of an existing singleton by ID.
|
class |
ObjectValueFromSingletonAttributeByType
Object value taken from an attribute of an existing singleton by its type.
|
class |
ObjectValueFromString
Object value created from a string, using Injection#createObjectFromString.
|
class |
ObjectValueList
List of object values as an object value.
|
class |
ObjectValueMap
Map of object values as an object value.
|
class |
ObjectValueRefId
Reference to an object by its ID.
|
class |
ObjectValueRefType
Reference to an object by its type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ObjectValue> |
ObjectMethod.parameters |
| Modifier and Type | Method and Description |
|---|---|
ObjectValue |
ObjectAttribute.getValue() |
| Modifier and Type | Method and Description |
|---|---|
List<ObjectValue> |
ObjectMethod.getParameters() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Injection.create(InjectionContext ctx,
Class<T> clazz,
List<ObjectValue> params,
ObjectMethod initMethod,
List<ObjectAttribute> attrs)
Create an object to be injected.
|
| Constructor and Description |
|---|
ObjectAttribute(String name,
ObjectValue value)
Contructor.
|
| Constructor and Description |
|---|
ObjectMethod(String name,
List<ObjectValue> parameters)
Constructor.
|
ObjectValueClass(Class<?> clazz,
List<ObjectValue> ctorParameters,
List<ObjectAttribute> attributes)
Constructor.
|
ObjectValueList(List<ObjectValue> elements)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectValue |
InjectionXmlParser01.readObjectValue(InjectionContext ctx,
net.lecousin.framework.xml.XMLStreamReader xml,
net.lecousin.framework.application.Application app)
Read an ObjectValue from the given XML.
|
Copyright © 2018. All rights reserved.