Skip navigation links
A B C D E F G H I K L M N O P Q R S T V W 

A

Adaptor() - Constructor for class org.osgl.inject.InjectListener.Adaptor
 
allAnnotations() - Method in class org.osgl.inject.BeanSpec
 
AnnotatedElementLoader - Class in org.osgl.inject.loader
Implementation of AnnotatedElementLoader shall load beans whose class has been annotated by a certain annotation class
AnnotatedElementLoader() - Constructor for class org.osgl.inject.loader.AnnotatedElementLoader
 
AnnotatedWith - Annotation Type in org.osgl.inject.annotation
Mark the type of elements of a field or method parameter should be annotated with specified annotation.
AnnotationUtil - Class in org.osgl.inject.util
Provides utility methods to deal with annotations.
AnnotationUtil() - Constructor for class org.osgl.inject.util.AnnotationUtil
 
ArrayListProvider - Class in org.osgl.inject.provider
Inject List and C.List using DelegatingList implementation.
ArrayListProvider() - Constructor for class org.osgl.inject.provider.ArrayListProvider
 
ArrayLoader<T> - Class in org.osgl.inject.util
 
ArrayLoader() - Constructor for class org.osgl.inject.util.ArrayLoader
 
ArrayProvider - Class in org.osgl.inject.provider
 

B

Base() - Constructor for class org.osgl.inject.ValueLoader.Base
 
bean - Variable in class org.osgl.inject.provider.DirectProvider
 
BeanSpec - Class in org.osgl.inject
Specification of a bean to be injected.
BeanTransformer<E> - Interface in org.osgl.inject
Implementation shall provide the logic that can transform a bean instance (no type change).
bind(Class<T>) - Method in class org.osgl.inject.Module
 
Binder(Class<T>) - Constructor for class org.osgl.inject.Genie.Binder
Create a Binder for specified class

C

CDIAdaptor - Class in org.osgl.inject
 
CDIAdaptor() - Constructor for class org.osgl.inject.CDIAdaptor
 
circularDependency(CharSequence) - Static method in exception org.osgl.inject.InjectException
 
ConcurrentMapProvider - Class in org.osgl.inject.provider
Inject ConcurrentMap with ConcurrentHashMap implementation
ConcurrentMapProvider() - Constructor for class org.osgl.inject.provider.ConcurrentMapProvider
 
conf(String) - Method in class org.osgl.inject.loader.ConfigurationValueLoader
Return whatever configured by key
Configuration - Annotation Type in org.osgl.inject.annotation
Used to specify a field or parameter shall be load by ConfigurationValueLoader.
ConfigurationValueLoader<T> - Class in org.osgl.inject.loader
Load value from configuration source
ConfigurationValueLoader() - Constructor for class org.osgl.inject.loader.ConfigurationValueLoader
 
configure() - Method in class org.osgl.inject.Module
 
create(InjectListener, Object...) - Static method in class org.osgl.inject.Genie
 
create(Object...) - Static method in class org.osgl.inject.Genie
Create a Genie instance with modules specified
createAnnotation(Class<T>) - Static method in class org.osgl.inject.util.AnnotationUtil
Create an annotation instance from annotation class.
createWithoutPlugins(Object...) - Static method in class org.osgl.inject.Genie
Create a Genie instance with modules specified

D

declaredAnnotation(AnnotatedElement, Class<T>) - Static method in class org.osgl.inject.util.AnnotationUtil
Return declared annotation with type annoClass from an AnnotatedElement.
DequeProvider - Class in org.osgl.inject.provider
Inject Deque type bean using ArrayDeque
DequeProvider() - Constructor for class org.osgl.inject.provider.DequeProvider
 
DirectProvider<T> - Class in org.osgl.inject.provider
A Simple implementation of Provider that provide the bean prepared before hand
DirectProvider(T) - Constructor for class org.osgl.inject.provider.DirectProvider
 
doNotFireEvent() - Method in class org.osgl.inject.Genie.Binder
Turn off the forceFireEvent flag.

E

ElementFilter<E> - Interface in org.osgl.inject
Implementation shall provide the logic that can filter a bean instance.
ElementLoader<E> - Interface in org.osgl.inject
An ElementLoader is responsible for providing initial data to be loaded into a Collection type.
ElementLoaderBase<T> - Class in org.osgl.inject.loader
Base class for ElementLoader implementations
ElementLoaderBase() - Constructor for class org.osgl.inject.loader.ElementLoaderBase
 
ElementType - Enum in org.osgl.inject
Used in AnnotatedWith and TypeOf annotation to specify the type of the element should be returned by TypedElementLoader and AnnotatedElementLoader respectively.
elementType - Variable in class org.osgl.inject.provider.ArrayProvider
 
equals(Object) - Method in class org.osgl.inject.BeanSpec
A bean spec equals to another bean spec if all of the following conditions are met: * the BeanSpec.type of the two bean spec equals to each other * the BeanSpec.annotations of the two bean spec equals to each other

F

Filter - Annotation Type in org.osgl.inject.annotation
Used to tag an annotation with bean filter specification.
filter(Map<String, Object>, BeanSpec) - Method in interface org.osgl.inject.BeanTransformer
Create a filter function with the hint and options specified.
filter(Map<String, Object>, BeanSpec) - Method in interface org.osgl.inject.ElementFilter
Create a filter function with the hint and options specified.
filter(Map<String, Object>, BeanSpec) - Method in class org.osgl.inject.loader.AnnotatedElementLoader
Returns a predicate check if an object has annotation as specified as hint
filter(Map<String, Object>, BeanSpec) - Method in class org.osgl.inject.loader.TypedElementLoader
This method returns a predicate function that test the bean instance against the class specified by hint.
forceFireEvent() - Method in class org.osgl.inject.Genie.Binder
Turn on forceFireEvent flag.

G

GenericTypedBeanLoader<T> - Interface in org.osgl.inject
A GenericTypedBeanLoader can be used to load instance of certain type with generic type parameters.
Genie - Class in org.osgl.inject
 
genie - Variable in class org.osgl.inject.provider.ArrayProvider
 
Genie.Binder<T> - Class in org.osgl.inject
A Binder is used in module configure method to define a custom binding.
GeniePlugin - Interface in org.osgl.inject
A GeniePlugin can register it self to a genie instance
get(Class<T>) - Method in class org.osgl.inject.Genie
 
get(BeanSpec) - Method in class org.osgl.inject.Genie
 
get(Class<T>) - Method in interface org.osgl.inject.Injector
Returns a bean of given type.
get() - Method in class org.osgl.inject.loader.ConfigurationValueLoader
 
get() - Method in class org.osgl.inject.provider.ArrayListProvider
 
get() - Method in class org.osgl.inject.provider.ArrayProvider
 
get() - Method in class org.osgl.inject.provider.ConcurrentMapProvider
 
get() - Method in class org.osgl.inject.provider.DequeProvider
 
get() - Method in class org.osgl.inject.provider.DirectProvider
 
get() - Method in class org.osgl.inject.provider.LazyProvider
 
get() - Method in class org.osgl.inject.provider.LinkedListProvider
 
get() - Method in class org.osgl.inject.provider.NullValueProvider
 
get() - Method in class org.osgl.inject.provider.OsglListProvider
 
get() - Method in class org.osgl.inject.provider.OsglMapProvider
 
get() - Method in class org.osgl.inject.provider.OsglSetProvider
 
get() - Method in class org.osgl.inject.provider.PrimitiveArrayProvider
 
get() - Method in class org.osgl.inject.provider.SortedMapProvider
 
get() - Method in class org.osgl.inject.provider.SortedSetProvider
 
get(BeanSpec) - Method in interface org.osgl.inject.ScopeCache
Get a bean from the cache defined in the scope.
get() - Method in interface org.osgl.inject.ValueLoader
Provide element data to be loaded using the options and bean spec initialized by ValueLoader.init(Map, BeanSpec).
getAnnotation(Class<T>) - Method in class org.osgl.inject.BeanSpec
 
getModifiers() - Method in class org.osgl.inject.BeanSpec
 
getProvider(Class<T>) - Method in class org.osgl.inject.Genie
 
getProvider(Class<T>) - Method in interface org.osgl.inject.Injector
Returns a provider of given type.
GuiceAdaptor - Class in org.osgl.inject
 
GuiceAdaptor() - Constructor for class org.osgl.inject.GuiceAdaptor
 

H

hasAnnotation(Class<? extends Annotation>) - Method in class org.osgl.inject.BeanSpec
 
hasAnnotation() - Method in class org.osgl.inject.BeanSpec
 
hashCode() - Method in class org.osgl.inject.BeanSpec
 
hashCode(Annotation) - Static method in class org.osgl.inject.util.AnnotationUtil
Generate a hash code for the given annotation using the algorithm presented in the Annotation.hashCode() API docs.
hasProvider(Class<?>) - Method in class org.osgl.inject.Genie
Check if a type has already been registered with a binding already

I

in(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie.Binder
Constraint the binder with a scope annotation class.
init(Map, BeanSpec) - Method in class org.osgl.inject.ValueLoader.Base
 
init(Map<String, Object>, BeanSpec) - Method in interface org.osgl.inject.ValueLoader
Initialize the value loader with options and bean spec.
initialized() - Method in class org.osgl.inject.ValueLoader.Base
Extend class can do further configuration here with all information of options and bean spec has been set.
injected(Object, BeanSpec) - Method in class org.osgl.inject.InjectListener.Adaptor
 
injected(Object, BeanSpec) - Method in interface org.osgl.inject.InjectListener
 
InjectException - Exception in org.osgl.inject
InjectException is thrown out when error occurred within dependency injection process
InjectException(String, Object...) - Constructor for exception org.osgl.inject.InjectException
 
InjectException(Throwable) - Constructor for exception org.osgl.inject.InjectException
 
InjectException(Throwable, String, Object...) - Constructor for exception org.osgl.inject.InjectException
 
InjectListener - Interface in org.osgl.inject
 
InjectListener.Adaptor - Class in org.osgl.inject
 
injector() - Method in class org.osgl.inject.BeanSpec
 
Injector - Interface in org.osgl.inject
A generic Injector interface defines the contract a dependency injector like Genie should provide.
InjectTag - Annotation Type in org.osgl.inject.annotation
Used to specify a certain annotation is an Inject tag.
INSTANCE - Static variable in class org.osgl.inject.provider.ArrayListProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.ConcurrentMapProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.DequeProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.LinkedListProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.NullValueProvider
 
instance() - Static method in class org.osgl.inject.provider.NullValueProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.OsglListProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.OsglMapProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.OsglSetProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.SortedMapProvider
 
INSTANCE - Static variable in class org.osgl.inject.provider.SortedSetProvider
 
isArray() - Method in class org.osgl.inject.BeanSpec
 
isFinal() - Method in class org.osgl.inject.BeanSpec
 
isInheritedScopeStopper(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
isInheritedScopeStopper(Class<? extends Annotation>) - Method in interface org.osgl.inject.Injector
Check if a supplied annotation class is a StopInheritedScope annotation or alias of that annotation.
isInstance(Object) - Method in class org.osgl.inject.BeanSpec
Check if a given object is instance of the type of this bean spec.
isInstanceOf(Class) - Method in class org.osgl.inject.BeanSpec
Return if the bean is instance of give class.
isPostConstructProcessor(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
isPostConstructProcessor(Class<? extends Annotation>) - Method in interface org.osgl.inject.Injector
Check if a supplied annotation class specifies a PostConstructProcessor.
isPrivate() - Method in class org.osgl.inject.BeanSpec
 
isProtected() - Method in class org.osgl.inject.BeanSpec
 
isPublic() - Method in class org.osgl.inject.BeanSpec
 
isQualifier(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
isQualifier(Class<? extends Annotation>) - Method in interface org.osgl.inject.Injector
Check if a supplied annotation class is a Qualifier.
isScope(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
isScope(Class<? extends Annotation>) - Method in interface org.osgl.inject.Injector
Check if a supplied annotation class is a Scope annotation.
isStatic() - Method in class org.osgl.inject.BeanSpec
 
isTransient() - Method in class org.osgl.inject.BeanSpec
 

K

KeyExtractor<K,V> - Interface in org.osgl.inject
A KeyExtractor can be used to extract or derive “key” from a value data.
KeyExtractor.PropertyExtractor - Class in org.osgl.inject
An implementation of KeyExtractor that extract property (specified through hint parameter) from a java bean (data).
keyOf(String, V) - Method in interface org.osgl.inject.KeyExtractor
Get the key of data.
keyOf(String, Object) - Method in class org.osgl.inject.KeyExtractor.PropertyExtractor
 

L

LazyProvider<T> - Class in org.osgl.inject.provider
A lazy provider is prepared with the bean class and initialize the bean upon demand
LazyProvider(Class<? extends T>, Injector) - Constructor for class org.osgl.inject.provider.LazyProvider
 
LinkedListProvider - Class in org.osgl.inject.provider
Inject LinkedList and LinkedList using DelegatingList implementation.
LinkedListProvider() - Constructor for class org.osgl.inject.provider.LinkedListProvider
 
listSpec - Variable in class org.osgl.inject.provider.ArrayProvider
 
listToArray(List, Class) - Static method in class org.osgl.inject.util.ArrayLoader
 
load(Map<String, Object>, BeanSpec, Genie) - Method in interface org.osgl.inject.ElementLoader
Provide element data to be loaded.
load(BeanSpec) - Method in interface org.osgl.inject.GenericTypedBeanLoader
Returns an instance matches the spec.
load(Map<String, Object>, BeanSpec, Genie) - Method in class org.osgl.inject.loader.AnnotatedElementLoader
This method will load instances of all public and non-abstract classes that has been annotated by annotation class specified as value in options
load(Class<? extends Annotation>, boolean, boolean) - Method in class org.osgl.inject.loader.AnnotatedElementLoader
Implementation shall load list of beans whose class is annotated with annoClass specified.
load(Map<String, Object>, BeanSpec, Genie) - Method in class org.osgl.inject.loader.TypedElementLoader
This method will load instances of all public and non-abstract classes that implements/extends the interface/class specified as value option
load(Class<T>, boolean, boolean, boolean) - Method in class org.osgl.inject.loader.TypedElementLoader
Load a list of beans whose class is type or implementation of the specified type
loadAbstract() - Method in enum org.osgl.inject.ElementType
Specify whether it should load abstract class.
LoadCollection - Annotation Type in org.osgl.inject.annotation
Used to tag an annotation with collection element loader specification.
loadFrom(List, Class) - Method in class org.osgl.inject.util.ArrayLoader
 
LoadValue - Annotation Type in org.osgl.inject.annotation
Used to tag an annotation with value loader specification.

M

MapKey - Annotation Type in org.osgl.inject.annotation
Used to specify how to extract Map key from a value.
Module - Class in org.osgl.inject
 
Module() - Constructor for class org.osgl.inject.Module
 

N

name() - Method in class org.osgl.inject.BeanSpec
 
named(String) - Method in class org.osgl.inject.Genie.Binder
Constraint the binding with a name.
Nonbinding - Annotation Type in org.osgl.inject.annotation
Note this annotation class is borrowed from cdi-api.
NullValueProvider - Class in org.osgl.inject.provider
A provider that always returns null

O

of(Class<?>, Injector) - Static method in class org.osgl.inject.BeanSpec
 
of(Type, Injector) - Static method in class org.osgl.inject.BeanSpec
 
of(Type, Annotation[], Injector) - Static method in class org.osgl.inject.BeanSpec
 
of(Type, Annotation[], Injector, int) - Static method in class org.osgl.inject.BeanSpec
 
of(Type, Annotation[], String, Injector) - Static method in class org.osgl.inject.BeanSpec
 
of(Type, Annotation[], String, Injector, int) - Static method in class org.osgl.inject.BeanSpec
 
of(Field, Injector) - Static method in class org.osgl.inject.BeanSpec
 
of(Class, Genie) - Static method in class org.osgl.inject.provider.ArrayProvider
 
of(BeanSpec, Genie) - Static method in class org.osgl.inject.provider.ArrayProvider
 
options - Variable in class org.osgl.inject.ValueLoader.Base
 
org.osgl.inject - package org.osgl.inject
Act genie is a dependency injection solution inspired by Feather.
org.osgl.inject.annotation - package org.osgl.inject.annotation
Defines annotation classes.
org.osgl.inject.loader - package org.osgl.inject.loader
Defines loader classes.
org.osgl.inject.provider - package org.osgl.inject.provider
Define Genie built-in providers for commonly used interfaces including and not limited to the following:
org.osgl.inject.util - package org.osgl.inject.util
Define utility classes used by Genie
OsglListProvider - Class in org.osgl.inject.provider
Inject List and C.List using DelegatingList implementation.
OsglListProvider() - Constructor for class org.osgl.inject.provider.OsglListProvider
 
OsglMapProvider - Class in org.osgl.inject.provider
Inject Map using C.Map
OsglMapProvider() - Constructor for class org.osgl.inject.provider.OsglMapProvider
 
OsglSetProvider - Class in org.osgl.inject.provider
Inject Set using DelegatingSet
OsglSetProvider() - Constructor for class org.osgl.inject.provider.OsglSetProvider
 

P

PlaceHolder() - Constructor for class org.osgl.inject.annotation.TypeOf.PlaceHolder
 
PostConstructProcess - Annotation Type in org.osgl.inject.annotation
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.
PostConstructProcessor<T> - Interface in org.osgl.inject
Define the logic that needs to be invoked on the bean before return back.
PostConstructProcessorBase<T> - Class in org.osgl.inject.util
Base class for implementing PostConstructProcessor
PostConstructProcessorBase() - Constructor for class org.osgl.inject.util.PostConstructProcessorBase
 
PrimitiveArrayProvider - Class in org.osgl.inject.provider
 
PrimitiveArrayProvider() - Constructor for class org.osgl.inject.provider.PrimitiveArrayProvider
 
priority() - Method in interface org.osgl.inject.ElementLoader
When multiple ElementLoader are used together to load initial data, the priority() method can used to determine which loader is called first.
priority() - Method in class org.osgl.inject.loader.ElementLoaderBase
The default loader priority is set to 5
process(T, Annotation) - Method in interface org.osgl.inject.PostConstructProcessor
Process a T typed bean with the relevant annotation instance.
PropertyExtractor() - Constructor for class org.osgl.inject.KeyExtractor.PropertyExtractor
 
Provided - Annotation Type in org.osgl.inject.annotation
Mark a method parameter value should be provided by Injector.
providerRegistered(Class) - Method in class org.osgl.inject.InjectListener.Adaptor
 
providerRegistered(Class) - Method in interface org.osgl.inject.InjectListener
 
Provides - Annotation Type in org.osgl.inject.annotation
Mark a factory method of a module (any class) that can be used to create a bean instance injection.
put(BeanSpec, T) - Method in interface org.osgl.inject.ScopeCache
Put a bean instance into the cache associated with the class key specified.

Q

qualifiedWith(Class<? extends Annotation>...) - Method in class org.osgl.inject.Genie.Binder
Add qualifier annotation constraints to this binder
qualifiedWith(Annotation...) - Method in class org.osgl.inject.Genie.Binder
Add qualifier annotation constraints to this binder
qualifiers() - Method in class org.osgl.inject.BeanSpec
Returns all qualifier annotation of this bean spec.

R

rawType() - Method in class org.osgl.inject.BeanSpec
 
rawTypeOf(Type) - Static method in class org.osgl.inject.BeanSpec
A utility method to return raw type (the class) of a given type.
register(Genie) - Method in class org.osgl.inject.CDIAdaptor
 
register(Genie) - Method in class org.osgl.inject.Genie.Binder
Register this binder to Genie
register(Genie) - Method in interface org.osgl.inject.GeniePlugin
Implementation shall register to a Genie instance
register(Genie) - Method in class org.osgl.inject.GuiceAdaptor
 
registerGenericTypedBeanLoader(Class<T>, GenericTypedBeanLoader<T>) - Method in class org.osgl.inject.Genie
 
registerGenericTypedBeanLoader(Class<T>, GenericTypedBeanLoader<T>) - Method in class org.osgl.inject.Module
 
registerInjectTag(Class<? extends Annotation>...) - Method in class org.osgl.inject.Genie
 
registerPostConstructProcessor(Class<? extends Annotation>, PostConstructProcessor<?>) - Method in class org.osgl.inject.Genie
 
registerProvider(Class<T>, Provider<? extends T>) - Method in class org.osgl.inject.Genie
 
registerQualifiers(Class<? extends Annotation>...) - Method in class org.osgl.inject.Genie
 
registerQualifiers(Collection<Class<? extends Annotation>>) - Method in class org.osgl.inject.Genie
 
registerQualifiers(Class<? extends Annotation>...) - Method in class org.osgl.inject.Module
 
registerScopeAlias(Class<? extends Annotation>, Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
registerScopeProvider(Class<? extends Annotation>, ScopeCache) - Method in class org.osgl.inject.Genie
 
registerScopeProvider(Class<? extends Annotation>, Class<? extends ScopeCache>) - Method in class org.osgl.inject.Genie
 
RequestScoped - Annotation Type in org.osgl.inject.annotation
Mark a class whose instance, when get injected into program, should be instantiated only once per user request

S

scopeByAlias(Class<? extends Annotation>) - Method in class org.osgl.inject.Genie
 
scopeByAlias(Class<? extends Annotation>) - Method in interface org.osgl.inject.Injector
Returns the scope annotation type from an alias annotation type.
ScopeCache - Interface in org.osgl.inject
Provide function to retrieve bean from scoped cache.
ScopeCache.RequestScope - Interface in org.osgl.inject
Implementation of ScopeCache.RequestScope shall provide access to bean instance stored in a request scope
ScopeCache.SessionScope - Interface in org.osgl.inject
Implementation of ScopeCache.RequestScope shall provide access to bean instance stored in a session scope
ScopeCache.SingletonScope - Interface in org.osgl.inject
Implementation of ScopeCache.SingletonScope provide access to bean instances stored in a singleton registry.
SessionScoped - Annotation Type in org.osgl.inject.annotation
Mark a class whose instance, when get injected into program, should be instantiated only once per user session
SortedMapProvider - Class in org.osgl.inject.provider
Inject SortedMap using TreeMap
SortedMapProvider() - Constructor for class org.osgl.inject.provider.SortedMapProvider
 
SortedSetProvider - Class in org.osgl.inject.provider
Inject SortedSet using TreeSet
SortedSetProvider() - Constructor for class org.osgl.inject.provider.SortedSetProvider
 
spec - Variable in class org.osgl.inject.ValueLoader.Base
 
StopInheritedScope - Annotation Type in org.osgl.inject.annotation
Stop a scope specification inherited from super class.
subjectToInject(AccessibleObject) - Method in class org.osgl.inject.Genie
 
subjectToInject(BeanSpec) - Method in class org.osgl.inject.Genie
 
supportInjectionPoint(boolean) - Method in class org.osgl.inject.Genie
 

T

tagAnnotation(Annotation, Class<T>) - Static method in class org.osgl.inject.util.AnnotationUtil
Returns the Annotation tagged on another annotation instance.
taggedAnnotations(Class<? extends Annotation>) - Method in class org.osgl.inject.BeanSpec
 
to(Class<? extends T>) - Method in class org.osgl.inject.Genie.Binder
Bind this Binder to a specific implementation.
to(T) - Method in class org.osgl.inject.Genie.Binder
Bind this Binder to a specific instance
to(Provider<? extends T>) - Method in class org.osgl.inject.Genie.Binder
Bind this Binder to a provider.
to(Constructor<? extends T>) - Method in class org.osgl.inject.Genie.Binder
Bind this binder to a constructor
toConstructor(Class<? extends T>, Class<?>...) - Method in class org.osgl.inject.Genie.Binder
Bind this instance to a constructor specified by class and constructor arguments.
toList() - Method in class org.osgl.inject.BeanSpec
Convert an array bean spec to a list bean spec.
toString() - Method in class org.osgl.inject.BeanSpec
 
Transform - Annotation Type in org.osgl.inject.annotation
Used to tag an annotation with Osgl.Function specification.
transform(List<Class<?>>, Genie) - Method in enum org.osgl.inject.ElementType
Transform a list of classes into required elements.
type() - Method in class org.osgl.inject.BeanSpec
 
TypedElementLoader<T> - Class in org.osgl.inject.loader
Load beans whose class extends/implements specified class/interface (as hint)
TypedElementLoader() - Constructor for class org.osgl.inject.loader.TypedElementLoader
 
TypeOf - Annotation Type in org.osgl.inject.annotation
Mark elements of a field or method parameter should be type of specified base class or interface.
TypeOf.PlaceHolder - Class in org.osgl.inject.annotation
 
typeParams() - Method in class org.osgl.inject.BeanSpec
Returns a list of type parameters if the BeanSpec.type() of the bean is instance of ParameterizedType.

V

value() - Method in class org.osgl.inject.ValueLoader.Base
Return the value of the annotation from ValueLoader.Base.options map.
ValueLoader<T> - Interface in org.osgl.inject
An ValueLoader is used to load bean (value) in place.
ValueLoader.Base<T> - Class in org.osgl.inject
 
valueOf(String) - Static method in enum org.osgl.inject.ElementType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.osgl.inject.ElementType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.osgl.inject.Genie
Describe the version of genie library.

W

withAnnotation(Class<? extends Annotation>...) - Method in class org.osgl.inject.Genie.Binder
Deprecated.
withAnnotation(Annotation...) - Method in class org.osgl.inject.Genie.Binder
Deprecated.
A B C D E F G H I K L M N O P Q R S T V W 
Skip navigation links

Copyright © 2016–2017 OSGL (Open Source General Library). All rights reserved.