genie is a dependency injection solution inspired by FeatherSee: Description
| Interface | Description |
|---|---|
| BeanTransformer<E> |
Implementation shall provide the logic that can transform a bean instance (no type change)
|
| ElementFilter<E> |
Implementation shall provide the logic that can filter a bean instance
|
| ElementLoader<E> |
An
ElementLoader is responsible for providing initial data to be loaded into a Collection type |
| GenericTypedBeanLoader<T> |
A
GenericTypedBeanLoader can be used to load instance of certain type with generic type parameters. |
| GeniePlugin |
A
GeniePlugin can register it self to a genie instance |
| InjectListener | |
| Injector |
A generic Injector interface defines the contract a dependency injector like
Genie should provide |
| KeyExtractor<K,V> |
KeyExtractor can be used to extract or derive “key” from a value data. |
| PostConstructProcessor<T> |
Define the logic that needs to be invoked on the bean before return back
|
| ScopeCache |
Provide function to retrieve bean from scoped cache
|
| ScopeCache.RequestScope |
Implementation of
ScopeCache.RequestScope shall provide access to bean instance stored in a request scope |
| ScopeCache.SessionScope |
Implementation of
ScopeCache.RequestScope shall provide access to bean instance stored in a session scope |
| ScopeCache.SingletonScope |
Implementation of
ScopeCache.SingletonScope provide access to bean instances stored in a singleton registry |
| ValueLoader<T> |
An
ValueLoader is used to load bean (value) in place. |
| Class | Description |
|---|---|
| BeanSpec |
Specification of a bean to be injected
|
| CDIAdaptor | |
| Genie | |
| Genie.Binder<T> | |
| GuiceAdaptor | |
| InjectListener.Adaptor | |
| KeyExtractor.PropertyExtractor | |
| Module | |
| ValueLoader.Base<T> |
| Enum | Description |
|---|---|
| ElementType |
Used in
AnnotatedWith and TypeOf annotation to specify the type of the element should be returned by TypedElementLoader and AnnotatedElementLoader respectively |
| Exception | Description |
|---|---|
| InjectException |
InjectException is thrown out when error occurred within dependency injection process |
Act genie is a dependency injection solution inspired by Feather
genie support all features provided by Feather and more:
* Support JSR330 dependency injection on Constructors/Fields/Methods * Support module/provider factory methods * Support Qualifier annotations * Support Scope annotations * Support LoadCollection annotations * Support LoadValue annotations * Support PostConstruct semantic * Support Scope defined by cdi-api-1.2 * Support Scope defined by Google Guice
Copyright © 2017. All Rights Reserved.