A B C D E F G H I J K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAnnotationProcessor<A extends Annotation> - Class in org.jeasy.props.processors
-
Base class for
AnnotationProcessorimplementations providing common methods. - AbstractAnnotationProcessor() - Constructor for class org.jeasy.props.processors.AbstractAnnotationProcessor
- aNewPropertiesInjector() - Static method in class org.jeasy.props.PropertiesInjectorBuilder
-
Create a new
PropertiesInjectorwith default parameters. - aNewPropertiesInjectorBuilder() - Static method in class org.jeasy.props.PropertiesInjectorBuilder
-
Create a new
PropertiesInjectorBuilder. - AnnotationProcessingException - Exception in org.jeasy.props.api
-
Exception thrown when an error occurs during the processing of an annotation.
- AnnotationProcessingException(String) - Constructor for exception org.jeasy.props.api.AnnotationProcessingException
- AnnotationProcessingException(String, Throwable) - Constructor for exception org.jeasy.props.api.AnnotationProcessingException
- AnnotationProcessor<T extends Annotation> - Interface in org.jeasy.props.api
-
Annotation processor interface.
- artifactId() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
The artifactId of jar to look for.
B
- build() - Method in class org.jeasy.props.PropertiesInjectorBuilder
-
Build a
PropertiesInjectorinstance. - bundle() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The resource bundle containing the property to load.
C
- configuration() - Method in annotation type org.jeasy.props.annotations.DBProperty
-
The configuration file containing database connection properties.
- convert(S) - Method in interface org.jeasy.props.api.TypeConverter
-
Convert a value from a source type to a target type.
- country() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The locale country to use.
D
- DB_DRIVER - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_PASSWORD - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_SCHEMA - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_TABLE - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_TABLE_KEY_COLUMN - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_TABLE_VALUE_COLUMN - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_URL - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DB_USER - Static variable in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- DBProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field in which a property should be injected from a database.
- DBPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from a database.
- DBPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- defaultValue() - Method in annotation type org.jeasy.props.annotations.DBProperty
-
The default value to set in case the key does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.EnvironmentVariable
-
The default value to set in case the environment variable does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The default value to set in case the key does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.JNDIProperty
-
The default value to set in case the key does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.ManifestProperty
-
The default value to set in case the header does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
The default value to set in case the key does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.Properties
-
The default properties file to load in case the specified properties file does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.Property
-
The default value to set in case the key does not exist or cannot be loaded.
- defaultValue() - Method in annotation type org.jeasy.props.annotations.SystemProperty
-
The default value to set in case the system property does not exist or cannot be loaded.
E
- EnvironmentVariable - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field in which an environment variable should be injected.
- EnvironmentVariableAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from environment variables.
- EnvironmentVariableAnnotationProcessor() - Constructor for class org.jeasy.props.processors.EnvironmentVariableAnnotationProcessor
F
- failFast() - Method in annotation type org.jeasy.props.annotations.DBProperty
-
Flag to fail the configuration process if the key is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.EnvironmentVariable
-
Flag to fail the configuration process if the environment variable is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
Flag to fail the configuration process if the key is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.JNDIProperty
-
Flag to fail the configuration process if the key is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.ManifestProperty
-
Flag to fail the configuration process if the header is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
Flag to fail the configuration process if the key is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.Properties
-
Flag to fail the configuration process if the properties file is absent or cannot be loaded.
- failFast() - Method in annotation type org.jeasy.props.annotations.Property
-
Flag to fail the configuration process if the key is absent
- failFast() - Method in annotation type org.jeasy.props.annotations.SystemProperty
-
Flag to fail the configuration process if the system property is absent
G
- groupId() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
The groupId of the jar file to look for.
H
- header() - Method in annotation type org.jeasy.props.annotations.ManifestProperty
-
The header name in the
META-INF/MANIFEST.MFfile. - HotReload - Annotation Type in org.jeasy.props.annotations
-
Annotation to mark an object for hot configuration reloading.
I
- I18NProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field in which a property should be injected from a resource bundle.
- I18NPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from I18N resource bundles.
- I18NPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.I18NPropertyAnnotationProcessor
- injectProperties(Object) - Method in interface org.jeasy.props.api.PropertiesInjector
-
Inject properties in annotated fields of the given object.
J
- jar() - Method in annotation type org.jeasy.props.annotations.ManifestProperty
-
The jar file name (in the classpath) containing the
META-INF/MANIFEST.MFfile. - JNDIProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation injects a property from a JNDI context in the annotated field.
- JNDIPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from a JNDI context.
- JNDIPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.JNDIPropertyAnnotationProcessor
K
- key() - Method in annotation type org.jeasy.props.annotations.DBProperty
-
The key to load from the table specified in the configuration properties.
- key() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The key to load from the resource bundle.
- key() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
The key in the maven properties file.
- key() - Method in annotation type org.jeasy.props.annotations.Property
-
The key to load from the properties file.
L
- language() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The locale language to use.
M
- Manageable - Annotation Type in org.jeasy.props.annotations
-
Annotation to mark an object as manageable via JMX.
- ManifestProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation injects a header from a
META-INF/MANIFEST.MFfile in the annotated field. - ManifestPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads a header value from
META-INF/MANIFEST.MFfile. - ManifestPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.ManifestPropertyAnnotationProcessor
- MavenProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation injects a property from a maven properties file in the annotated field.
- MavenPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads all properties from
META-INF/maven/groupId/artifactId/pom.properties. - MavenPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.MavenPropertyAnnotationProcessor
- missingAttributeValue(String, String, Field) - Method in class org.jeasy.props.processors.AbstractAnnotationProcessor
-
Constructs an error message to signal missing annotation attribute value.
N
- name() - Method in annotation type org.jeasy.props.annotations.Manageable
O
- order() - Method in annotation type org.jeasy.props.annotations.DBProperty
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.EnvironmentVariable
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.JNDIProperty
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.ManifestProperty
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.Properties
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.Property
-
Injection order regarding other annotations.
- order() - Method in annotation type org.jeasy.props.annotations.SystemProperty
-
Injection order regarding other annotations.
- org.jeasy.props - package org.jeasy.props
-
This package contains the core implementation of properties injection.
- org.jeasy.props.annotations - package org.jeasy.props.annotations
-
This package contains built-in annotations.
- org.jeasy.props.api - package org.jeasy.props.api
-
This package contains public APIs.
- org.jeasy.props.processors - package org.jeasy.props.processors
-
This package contains built-in annotation processors.
P
- period() - Method in annotation type org.jeasy.props.annotations.HotReload
-
The period to wait before reloading configuration.
- processAnnotation(DBProperty, Field) - Method in class org.jeasy.props.processors.DBPropertyAnnotationProcessor
- processAnnotation(EnvironmentVariable, Field) - Method in class org.jeasy.props.processors.EnvironmentVariableAnnotationProcessor
- processAnnotation(I18NProperty, Field) - Method in class org.jeasy.props.processors.I18NPropertyAnnotationProcessor
- processAnnotation(JNDIProperty, Field) - Method in class org.jeasy.props.processors.JNDIPropertyAnnotationProcessor
- processAnnotation(ManifestProperty, Field) - Method in class org.jeasy.props.processors.ManifestPropertyAnnotationProcessor
- processAnnotation(MavenProperty, Field) - Method in class org.jeasy.props.processors.MavenPropertyAnnotationProcessor
- processAnnotation(Properties, Field) - Method in class org.jeasy.props.processors.PropertiesAnnotationProcessor
- processAnnotation(Property, Field) - Method in class org.jeasy.props.processors.PropertyAnnotationProcessor
- processAnnotation(SystemProperty, Field) - Method in class org.jeasy.props.processors.SystemPropertyAnnotationProcessor
- processAnnotation(T, Field) - Method in interface org.jeasy.props.api.AnnotationProcessor
-
Process an annotation of type T.
- Properties - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field of type
Propertiesin which all properties from a given properties file should be injected. - PropertiesAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads all properties from a properties file.
- PropertiesAnnotationProcessor() - Constructor for class org.jeasy.props.processors.PropertiesAnnotationProcessor
- PropertiesInjector - Interface in org.jeasy.props.api
-
Interface for java properties injector.
- PropertiesInjectorBuilder - Class in org.jeasy.props
-
A builder to create
PropertiesInjectorinstances. - PropertiesInjectorBuilder() - Constructor for class org.jeasy.props.PropertiesInjectorBuilder
-
Public constructor.
- Property - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field in which a property should be injected from a properties file.
- PropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from properties files.
- PropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.PropertyAnnotationProcessor
- PropertyInjectionException - Exception in org.jeasy.props.api
-
Exception thrown when an error occurs during the injection of a property in a given field.
- PropertyInjectionException(String, Throwable) - Constructor for exception org.jeasy.props.api.PropertyInjectionException
R
- registerAnnotationProcessor(Class<? extends Annotation>, AnnotationProcessor) - Method in class org.jeasy.props.PropertiesInjectorBuilder
-
Register a custom annotation processor for a given annotation.
- registerTypeConverter(Class<?>, TypeConverter) - Method in class org.jeasy.props.PropertiesInjectorBuilder
-
Register a custom type converter.
- rejectIfEmpty(String, String) - Method in class org.jeasy.props.processors.AbstractAnnotationProcessor
-
Reject a value (by throwing a
AnnotationProcessingException) if it is empty.
S
- source() - Method in annotation type org.jeasy.props.annotations.MavenProperty
-
The property source file containing maven properties (by default "pom.properties", as generated by maven archiver).
- source() - Method in annotation type org.jeasy.props.annotations.Property
-
The properties file name.
- SystemProperty - Annotation Type in org.jeasy.props.annotations
-
This annotation can be declared on a field in which a system property should be injected.
- SystemPropertyAnnotationProcessor - Class in org.jeasy.props.processors
-
An annotation processor that loads properties from system properties.
- SystemPropertyAnnotationProcessor() - Constructor for class org.jeasy.props.processors.SystemPropertyAnnotationProcessor
T
- TypeConversionException - Exception in org.jeasy.props.api
-
Exception to signal a type conversion error.
- TypeConversionException(String) - Constructor for exception org.jeasy.props.api.TypeConversionException
-
Create a new
TypeConversionException. - TypeConversionException(String, Throwable) - Constructor for exception org.jeasy.props.api.TypeConversionException
-
Create a new
TypeConversionException. - TypeConverter<S,T> - Interface in org.jeasy.props.api
-
Interface for type conversion.
U
- unit() - Method in annotation type org.jeasy.props.annotations.HotReload
-
Time unit of the waiting period.
V
- value() - Method in annotation type org.jeasy.props.annotations.EnvironmentVariable
-
The environment variable to load.
- value() - Method in annotation type org.jeasy.props.annotations.JNDIProperty
-
The object name in the JNDI context.
- value() - Method in annotation type org.jeasy.props.annotations.Properties
-
The properties file name.
- value() - Method in annotation type org.jeasy.props.annotations.SystemProperty
-
The system property to load.
- variant() - Method in annotation type org.jeasy.props.annotations.I18NProperty
-
The locale variant to use.
All Classes All Packages