Skip navigation links
A C F G I K N O P R S T V 

A

add(ObjectProvider) - Method in class net.lecousin.framework.injection.InjectionContext
Add an object provider.
apply(SerializationClass, SerializationContext, List<SerializationRule>, boolean) - Method in class net.lecousin.framework.injection.InjectionSerializationRule
 
attributes - Variable in class net.lecousin.framework.injection.Factory
 
attributes - Variable in class net.lecousin.framework.injection.ObjectAttribute
 

C

call(Object, ObjectMethod) - Static method in class net.lecousin.framework.injection.Injection
Call a method on an instance.
clazz - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
configure(InjectionContext, String) - Static method in class net.lecousin.framework.injection.InjectionXmlConfiguration
Configure the given InjectionContext with the XML file.
configure(InjectionContext, IO.Readable) - Static method in class net.lecousin.framework.injection.InjectionXmlConfiguration
Configure the given InjectionContext with the XML file.
configureInjection(InjectionContext, XMLStreamReader) - Static method in class net.lecousin.framework.injection.InjectionXmlConfiguration
Configure the given context with the given XML which must be on an Injection element.
create(InjectionContext, Class<?>, ObjectMethod, List<ObjectAttribute>) - Static method in class net.lecousin.framework.injection.Injection
Create an object to be injected.
create(InjectionContext, Class<?>, List<String>, ObjectMethod, List<ObjectAttribute>) - Static method in class net.lecousin.framework.injection.Injection
Create an object to be injected.
create(InjectionContext, Class<?>, Type, Annotation[]) - Method in class net.lecousin.framework.injection.ObjectAttribute
Create the object based on the given context.
createObjectFromString(Class<?>, Type, String, Annotation[]) - Static method in class net.lecousin.framework.injection.Injection
Create an object from a string value.

F

Factory - Class in net.lecousin.framework.injection
Factory of objects.
Factory(Class<?>, Class<?>, ObjectMethod, List<ObjectAttribute>, String) - Constructor for class net.lecousin.framework.injection.Factory
Constructor.
fromAttribute - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
fromId - Variable in class net.lecousin.framework.injection.ObjectAttribute
 

G

getId() - Method in class net.lecousin.framework.injection.ObjectProvider
 
getName() - Method in class net.lecousin.framework.injection.ObjectAttribute
 
getName() - Method in class net.lecousin.framework.injection.ObjectMethod
 
getObject(Class<T>) - Method in class net.lecousin.framework.injection.InjectionContext
Retrieve an object by its implemented type.
getObjectById(String) - Method in class net.lecousin.framework.injection.InjectionContext
Retrieve an object by its id.
getObjectById(String, Class<T>) - Method in class net.lecousin.framework.injection.InjectionContext
Retrieve an object by its id and implemented type.
getParameters() - Method in class net.lecousin.framework.injection.ObjectMethod
 
getParent() - Method in class net.lecousin.framework.injection.InjectionContext
 
getProperty(Application, InjectionContext, String) - Static method in class net.lecousin.framework.injection.Injection
Search a property first in the context, then in the application.
getProperty(String) - Method in class net.lecousin.framework.injection.InjectionContext
Return a property or null if not set.
getType() - Method in class net.lecousin.framework.injection.ObjectProvider
 

I

id - Variable in class net.lecousin.framework.injection.ObjectProvider
 
implType - Variable in class net.lecousin.framework.injection.Factory
 
Init - Class in net.lecousin.framework.injection
Initialization.
Init() - Constructor for class net.lecousin.framework.injection.Init
Constructor automatically called.
initMethod - Variable in class net.lecousin.framework.injection.Factory
 
InitMethod - Annotation Type in net.lecousin.framework.injection
Signal an initialization method, that will be called once the object is instantiated and its dependencies have been injected.
Inject - Annotation Type in net.lecousin.framework.injection
This field should be injected.
inject(InjectionContext, Object) - Static method in class net.lecousin.framework.injection.Injection
Perform injection on the instance, by looking for fields having the Inject annotation.
Injectable - Annotation Type in net.lecousin.framework.injection
Specify the type for injection.
InjectableWhen - Annotation Type in net.lecousin.framework.injection
This annotation can be used to specify when the annotated class should be used for injection.
injectAttribute(InjectionContext, Object, ObjectAttribute) - Static method in class net.lecousin.framework.injection.Injection
Inject the given attribute in the instance.
Injection - Class in net.lecousin.framework.injection
Utility methods for injection.
InjectionContext - Class in net.lecousin.framework.injection
Injection context.
InjectionContext(InjectionContext) - Constructor for class net.lecousin.framework.injection.InjectionContext
Constructor.
InjectionContext() - Constructor for class net.lecousin.framework.injection.InjectionContext
Constructor.
InjectionException - Exception in net.lecousin.framework.injection
Injection error.
InjectionException(String) - Constructor for exception net.lecousin.framework.injection.InjectionException
Constructor.
InjectionException(String, Throwable) - Constructor for exception net.lecousin.framework.injection.InjectionException
Constructor.
InjectionSerializationRule - Class in net.lecousin.framework.injection
Serialization rule for dependencies injection: during serialization, injectable objects are not serialized (they will be injected again on deserialization).
InjectionSerializationRule(InjectionContext) - Constructor for class net.lecousin.framework.injection.InjectionSerializationRule
Constructor.
InjectionXmlConfiguration - Class in net.lecousin.framework.injection
Utility class to configure an InjectionContext from an XML file.
instance - Variable in class net.lecousin.framework.injection.Singleton
 
isEquivalent(SerializationRule) - Method in class net.lecousin.framework.injection.InjectionSerializationRule
 
isExplicitlyNull() - Method in class net.lecousin.framework.injection.ObjectAttribute
 

K

keepAfterInit() - Method in class net.lecousin.framework.injection.Init
 

N

name - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
name - Variable in class net.lecousin.framework.injection.ObjectMethod
 
NAMESPACE_URI_0_1 - Static variable in class net.lecousin.framework.injection.InjectionXmlConfiguration
 
net.lecousin.framework.injection - package net.lecousin.framework.injection
Dependency injection.

O

ObjectAttribute - Class in net.lecousin.framework.injection
Configuration for injecting an object into an attribute.
ObjectAttribute(String, String, String, String, String) - Constructor for class net.lecousin.framework.injection.ObjectAttribute
Contructor.
ObjectAttribute(String, Class<?>, List<String>, List<ObjectAttribute>) - Constructor for class net.lecousin.framework.injection.ObjectAttribute
Contructor.
ObjectMethod - Class in net.lecousin.framework.injection
Represent a method with optional parameters to be called.
ObjectMethod(String, List<String>) - Constructor for class net.lecousin.framework.injection.ObjectMethod
Constructor.
ObjectProvider - Class in net.lecousin.framework.injection
Provide objects for injection.
ObjectProvider(Class<?>, String) - Constructor for class net.lecousin.framework.injection.ObjectProvider
Constructor.
onInstantiation(TypeDefinition, Object, SerializationContext) - Method in class net.lecousin.framework.injection.InjectionSerializationRule
 

P

parameters - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
parameters - Variable in class net.lecousin.framework.injection.ObjectMethod
 
provide(InjectionContext) - Method in class net.lecousin.framework.injection.Factory
 
provide(InjectionContext) - Method in class net.lecousin.framework.injection.ObjectProvider
Provide an object for injection in the given context.
provide(InjectionContext) - Method in class net.lecousin.framework.injection.Singleton
 
provide(InjectionContext) - Method in class net.lecousin.framework.injection.SingletonOnDemand
 
provider - Variable in class net.lecousin.framework.injection.SingletonOnDemand
 

R

readObjectAttribute01(InjectionContext, XMLStreamReader, Application) - Static method in class net.lecousin.framework.injection.InjectionXmlConfiguration
Read an attribute from the given XML which must be on the attribute element.
readObjectMethod01(XMLStreamReader) - Static method in class net.lecousin.framework.injection.InjectionXmlConfiguration
Read an object method from an XML stream (version 0-1).
ref - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
resolveProperties(InjectionContext, Application, String) - Static method in class net.lecousin.framework.injection.Injection
Resolve properties in the given value.
resolveProperties(InjectionContext, Application, CharSequence) - Static method in class net.lecousin.framework.injection.Injection
Resolve properties in the given value.

S

scanPackage(InjectionContext, Application, String, boolean) - Static method in class net.lecousin.framework.injection.Injection
Scan a package to find injectable objects.
setParent(InjectionContext) - Method in class net.lecousin.framework.injection.InjectionContext
 
setProperty(String, String) - Method in class net.lecousin.framework.injection.InjectionContext
Set a property.
Singleton - Class in net.lecousin.framework.injection
Singleton to be injected.
Singleton(Class<?>, Object, String) - Constructor for class net.lecousin.framework.injection.Singleton
Constructor.
SingletonOnDemand - Class in net.lecousin.framework.injection
Singleton to be injected.
SingletonOnDemand(Class<?>, Provider<?>, String) - Constructor for class net.lecousin.framework.injection.SingletonOnDemand
Constructor.

T

type - Variable in class net.lecousin.framework.injection.ObjectProvider
 

V

value - Variable in class net.lecousin.framework.injection.ObjectAttribute
 
A C F G I K N O P R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.