Class | Description |
---|---|
TypeOf.PlaceHolder |
Annotation Type | Description |
---|---|
AnnotatedWith |
Mark the type of elements of a field or method parameter should be annotated with specified annotation.
|
Configuration |
Used to specify a field or parameter shall be load by
ConfigurationValueLoader . |
Filter |
Used to tag an annotation with
bean filter specification. |
InjectTag |
Used to specify a certain annotation is an
Inject tag . |
LoadCollection |
Used to tag an annotation with
collection element loader specification. |
LoadValue |
Used to tag an annotation with
value loader specification. |
MapKey |
Used to specify how to extract
Map key from a value. |
Nonbinding |
Note this annotation class is borrowed from cdi-api.
|
PostConstructProcess |
When a field or parameter is annotated with a
PostConstructProcess tagged annotation, it tells Genie to load specified PostConstructProcessor to apply on the bean after bean is constructed and, if the bean has PostConstruct method, after that method is called. |
Provided |
Mark a method parameter value should be provided by
Injector . |
Provides |
Mark a factory method of a module (any class) that can be used to create a bean instance injection.
|
RequestScoped |
Mark a class whose instance, when get injected into program, should be instantiated only once per user request
|
SessionScoped |
Mark a class whose instance, when get injected into program, should be instantiated only once per user session
|
StopInheritedScope |
Stop a scope specification inherited from super class.
|
Transform |
Used to tag an annotation with
org.osgl.Osgl.Function specification. |
TypeOf |
Mark elements of a field or method parameter should be type of specified base class or interface.
|
Defines annotation classes.
Genie annotations are created as a complement to JSR 330 annotations to provide extended dependency injection mechanism including and not limited to the following:
inject collection
with item pre-populated.inject value
factory method marker
request scope marker
session scope marker
Copyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.