| Package | Description |
|---|---|
| org.osgl.inject |
Act
genie is a dependency injection solution inspired by Feather. |
| org.osgl.inject.provider |
Define Genie built-in
providers for commonly used interfaces including and not limited to the following: |
| Modifier and Type | Class and Description |
|---|---|
class |
Genie |
| Modifier and Type | Method and Description |
|---|---|
Injector |
BeanSpec.injector() |
| Modifier and Type | Method and Description |
|---|---|
static BeanSpec |
BeanSpec.of(Class<?> clazz,
Injector injector) |
static BeanSpec |
BeanSpec.of(Field field,
Injector injector) |
static BeanSpec |
BeanSpec.of(Type type,
Annotation[] paramAnnotations,
Injector injector) |
static BeanSpec |
BeanSpec.of(Type type,
Annotation[] paramAnnotations,
Injector injector,
int modifiers) |
static BeanSpec |
BeanSpec.of(Type type,
Annotation[] paramAnnotations,
String name,
Injector injector) |
static BeanSpec |
BeanSpec.of(Type type,
Annotation[] paramAnnotations,
String name,
Injector injector,
int modifiers) |
static BeanSpec |
BeanSpec.of(Type type,
Injector injector) |
| Constructor and Description |
|---|
LazyProvider(Class<? extends T> clazz,
Injector injector) |
Copyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.