A B C D E F G H I K M O P Q R S T 
All Classes All Packages

A

associateIfAbsent(String, Supplier<T>) - Method in interface org.int4.dirk.core.definition.Binding
Associate extra data with this binding.

B

BadQualifiedTypeException - Exception in org.int4.dirk.core.definition
Thrown when a QualifiedType is encountered that is unsuitable for injection.
BadQualifiedTypeException(String) - Constructor for exception org.int4.dirk.core.definition.BadQualifiedTypeException
Constructs a new instance.
Binding - Interface in org.int4.dirk.core.definition
Bindings represent targets where values can be injected into an instance.
BindingProvider - Class in org.int4.dirk.core.definition
Provides Bindings for constructors, methods and fields.
BindingProvider(AnnotationStrategy, InjectionTargetExtensionStore) - Constructor for class org.int4.dirk.core.definition.BindingProvider
Constructs a new instance.
BindingProvider.InjectionType - Class in org.int4.dirk.core.definition
 

C

ClassInjectableFactory - Class in org.int4.dirk.core.definition
Factory interface for creating Injectables given a Type.
ClassInjectableFactory(BindingProvider, InjectableFactory, LifeCycleCallbacksFactory) - Constructor for class org.int4.dirk.core.definition.ClassInjectableFactory
Constructs a new instance.
ClassObjectFactory<T> - Class in org.int4.dirk.core.definition.factory
Object factory for concrete classes.
ClassObjectFactory(Constructor<T>, LifeCycleCallbacks) - Constructor for class org.int4.dirk.core.definition.factory.ClassObjectFactory
Constructs a new instance.
Constructable<T> - Interface in org.int4.dirk.core.definition.injection
Provides an object, potentially constructing it directly or indirectly and any other objects that it depends on.
contains(Type, Object...) - Method in class org.int4.dirk.core.StandardInjector
 
contains(Key) - Method in class org.int4.dirk.core.store.InjectableStore
Checks if there is an Injectable associated with the given Key in the store.
contains(Key) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Checks if there is a type T associated with the given Key in the store.
create(Field, Type) - Method in class org.int4.dirk.core.definition.FieldInjectableFactory
Creates a new Injectable.
create(Method, Type) - Method in class org.int4.dirk.core.definition.MethodInjectableFactory
Creates a new Injectable.
create(Type) - Method in class org.int4.dirk.core.definition.ClassInjectableFactory
Attempts to create a new Injectable from the given Type.
create(Type, AnnotatedElement) - Method in interface org.int4.dirk.core.definition.GenericBindingProvider.BindingFactory
Creates a binding of type B.
create(Type, Member, AnnotatedElement, List<Binding>, Constructable<T>) - Method in interface org.int4.dirk.core.definition.InjectableFactory
Creates Injectables given an owner Type, an optional Member an AnnotatedElement, a list of Bindings and a Constructable.
create(List<Injection>) - Method in class org.int4.dirk.core.definition.factory.ClassObjectFactory
 
create(List<Injection>) - Method in class org.int4.dirk.core.definition.factory.FieldObjectFactory
 
create(List<Injection>) - Method in class org.int4.dirk.core.definition.factory.MethodObjectFactory
 
create(List<Injection>) - Method in interface org.int4.dirk.core.definition.injection.Constructable
Creates an instance.
create(Resolver<Injectable<?>>, Collection<Type>) - Method in interface org.int4.dirk.core.discovery.DiscovererFactory
Given a list of Types, returns a Discoverer which will produce injectables for each of the types given and all injectables that could be derived or discovered using the given types as starting point.
create(Resolver<Injectable<?>>, Injectable<?>) - Method in interface org.int4.dirk.core.discovery.DiscovererFactory
Given an Injectable, returns a Discoverer which will produce the given injectable and all injectables that could be derived or discovered using the injectable as starting point.
create(T, Annotation...) - Method in class org.int4.dirk.core.definition.InstanceInjectableFactory
Creates a new Injectable.

D

Description - Class in org.int4.dirk.core.util
Utility class to describe classes as text.
Description() - Constructor for class org.int4.dirk.core.util.Description
 
destroy(T) - Method in class org.int4.dirk.core.definition.factory.ClassObjectFactory
 
destroy(T) - Method in class org.int4.dirk.core.definition.factory.FieldObjectFactory
 
destroy(T) - Method in class org.int4.dirk.core.definition.factory.MethodObjectFactory
 
destroy(T) - Method in interface org.int4.dirk.core.definition.injection.Constructable
Destroys an instance.
discover() - Method in interface org.int4.dirk.core.discovery.Discoverer
Discovers additional Injectables.
Discoverer - Interface in org.int4.dirk.core.discovery
Potentially discovers additional Injectables.
DiscovererFactory - Interface in org.int4.dirk.core.discovery
Gathers fully expanded sets of Injectables based on the given inputs.

E

equals(Object) - Method in class org.int4.dirk.core.definition.Key
 
equals(Object) - Method in class org.int4.dirk.core.definition.QualifiedType
 
ExtendedScopeResolver - Class in org.int4.dirk.core.definition
Wrapper for ScopeResolver with additional information useful for the internal workings of the injector framework.
ExtendedScopeResolver(ScopeResolver, boolean, boolean) - Constructor for class org.int4.dirk.core.definition.ExtendedScopeResolver
Constructs a new instance.

F

FieldInjectableFactory - Class in org.int4.dirk.core.definition
Constructs Injectables for Field values of a specific owner Type.
FieldInjectableFactory(BindingProvider, InjectableFactory) - Constructor for class org.int4.dirk.core.definition.FieldInjectableFactory
Constructs a new instance.
FieldObjectFactory<T> - Class in org.int4.dirk.core.definition.factory
A Constructable which reads a field to obtain an instance.
FieldObjectFactory(Field) - Constructor for class org.int4.dirk.core.definition.factory.FieldObjectFactory
Constructs a new instance.

G

GenericBindingProvider<B> - Class in org.int4.dirk.core.definition
Provides bindings for constructors, methods and fields.
GenericBindingProvider(AnnotationStrategy, GenericBindingProvider.BindingFactory<B>) - Constructor for class org.int4.dirk.core.definition.GenericBindingProvider
Constructs a new instance.
GenericBindingProvider.BindingFactory<B> - Interface in org.int4.dirk.core.definition
Factory for creating bindings that have been found.
get(Object, CreationalContext<T>) - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
 
getAccessibleObject() - Method in interface org.int4.dirk.core.definition.Binding
Returns the target AccessibleObject for the binding.
getAnnotatedConstructor(Class<?>) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns an annotated Constructor suitable for injection.
getAnnotatedConstructor(Class<?>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns an annotated Constructor suitable for injection.
getAnnotatedElement() - Method in interface org.int4.dirk.core.definition.Binding
Returns the associated AnnotatedElement for this binding.
getAnnotation() - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
 
getBindings() - Method in interface org.int4.dirk.core.definition.Injectable
Returns the Bindings detected.
getCandidateRegistry() - Method in class org.int4.dirk.core.StandardInjector
 
getConstructor(Class<T>) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns a Constructor suitable for injection.
getConstructor(Class<T>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns a Constructor suitable for injection.
getElementKey() - Method in interface org.int4.dirk.core.definition.Binding
Returns the Key of which individual elements of the injection target consist.
getElementType() - Method in class org.int4.dirk.core.definition.BindingProvider.InjectionType
 
getExtension(Class<T>) - Method in class org.int4.dirk.core.definition.InjectionTargetExtensionStore
Gets the InjectionTargetExtension which handles the given Class.
getInstance(Class<T>, Object...) - Method in class org.int4.dirk.core.StandardInjector
 
getInstance(Type, Object...) - Method in class org.int4.dirk.core.StandardInjector
 
getInstanceResolver() - Method in class org.int4.dirk.core.StandardInjector
 
getInstances(Class<T>, Object...) - Method in class org.int4.dirk.core.StandardInjector
 
getInstances(Type, Object...) - Method in class org.int4.dirk.core.StandardInjector
 
getParameter() - Method in interface org.int4.dirk.core.definition.Binding
Returns the Parameter when the AccessibleObject is a constructor or a method.
getProblems() - Method in interface org.int4.dirk.core.discovery.Discoverer
Returns a list of problems encountered during discovery.
getQualifiers() - Method in interface org.int4.dirk.core.definition.Binding
Returns the qualifiers on the injection target.
getQualifiers() - Method in interface org.int4.dirk.core.definition.Injectable
Returns an unmodifiable set of qualifier Annotations.
getQualifiers() - Method in class org.int4.dirk.core.definition.Key
Returns an immutable set of qualifier Annotations.
getQualifiers() - Method in class org.int4.dirk.core.definition.QualifiedType
Returns an immutable set of qualifier Annotations.
getScopeResolver() - Method in interface org.int4.dirk.core.definition.Injectable
Returns the ExtendedScopeResolver of this Injectable.
getTarget() - Method in class org.int4.dirk.core.definition.injection.Injection
Returns the target.
getType() - Method in interface org.int4.dirk.core.definition.Binding
Returns the Type of the injection target.
getType() - Method in interface org.int4.dirk.core.definition.Injectable
Returns the Type which is always fully resolved (no type variables) and never void.
getType() - Method in class org.int4.dirk.core.definition.Key
Returns the Type.
getType() - Method in class org.int4.dirk.core.definition.QualifiedType
Returns the Type.
getTypes() - Method in interface org.int4.dirk.core.definition.Injectable
Returns the Types of this injectable.
getTypeTraits() - Method in interface org.int4.dirk.core.definition.Binding
Returns the TypeTraits of this binding.
getTypeTraits() - Method in class org.int4.dirk.core.definition.BindingProvider.InjectionType
 
getValue() - Method in class org.int4.dirk.core.definition.injection.Injection
Returns the value.

H

hashCode() - Method in class org.int4.dirk.core.definition.Key
 
hashCode() - Method in class org.int4.dirk.core.definition.QualifiedType
 

I

Injectable<T> - Interface in org.int4.dirk.core.definition
Represents a source for an injectable dependency.
InjectableFactory - Interface in org.int4.dirk.core.definition
Factory for Injectables.
InjectableStore - Class in org.int4.dirk.core.store
A store for Injectables which ensures that it at all times contains only injectables that can be fully resolved.
InjectableStore(ProxyStrategy) - Constructor for class org.int4.dirk.core.store.InjectableStore
Constructs a new instance.
Injection - Class in org.int4.dirk.core.definition.injection
A target and value to be injected.
Injection(AccessibleObject, Object) - Constructor for class org.int4.dirk.core.definition.injection.Injection
Constructs a new instance.
InjectionTargetExtensionStore - Class in org.int4.dirk.core.definition
InjectionTargetExtensionStore(Collection<InjectionTargetExtension<?, ?>>) - Constructor for class org.int4.dirk.core.definition.InjectionTargetExtensionStore
Constructs a new instance.
InjectionType(Type, Set<TypeTrait>) - Constructor for class org.int4.dirk.core.definition.BindingProvider.InjectionType
 
InstanceInjectableFactory - Class in org.int4.dirk.core.definition
Constructs Injectables for a given object instance.
InstanceInjectableFactory(InjectableFactory, Annotation) - Constructor for class org.int4.dirk.core.definition.InstanceInjectableFactory
Constructs a new instance.
isActive() - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
 
isDependentScope() - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
Returns whether this ScopeResolver represents the dependent pseudo-scope.
isOptional() - Method in interface org.int4.dirk.core.definition.Binding
Returns whether this target accepts null as an injection value.
isPseudoScope() - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
Returns whether this ScopeResolver represents a pseudo-scope.

K

Key - Class in org.int4.dirk.core.definition
Represents a Type with a set of qualifier Annotations.
Key(Type) - Constructor for class org.int4.dirk.core.definition.Key
Constructs a new instance.
Key(Type, Collection<Annotation>) - Constructor for class org.int4.dirk.core.definition.Key
Constructs a new instance.

M

MethodInjectableFactory - Class in org.int4.dirk.core.definition
Constructs Injectables for Methods part of a specific owner Type.
MethodInjectableFactory(BindingProvider, InjectableFactory) - Constructor for class org.int4.dirk.core.definition.MethodInjectableFactory
Constructs a new instance.
MethodObjectFactory<T> - Class in org.int4.dirk.core.definition.factory
A Constructable using a method call to obtain an instance.
MethodObjectFactory(Method) - Constructor for class org.int4.dirk.core.definition.factory.MethodObjectFactory
Constructs a new instance.

O

of(Member) - Static method in class org.int4.dirk.core.util.Description
Describes a Member.
ofConstructor(Constructor<?>) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns all bindings for the given Constructor.
ofConstructor(Constructor<?>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns all bindings for the given Constructor.
ofConstructorAndMembers(Constructor<?>, Class<?>) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns all bindings for the given Constructor and all member bindings for the given class.
ofConstructorAndMembers(Constructor<?>, Class<?>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns all bindings for the given Constructor and all member bindings for the given class.
ofField(Field, Type) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns all bindings for the given Field.
ofField(Field, Type) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns all bindings for the given Field.
ofMembers(Class<?>) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns all member bindings for the given class.
ofMembers(Class<?>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns all member bindings for the given class.
ofMethod(Method, Type) - Method in class org.int4.dirk.core.definition.BindingProvider
Returns all bindings for the given Method.
ofMethod(Method, Type) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
Returns all bindings for the given Method.
org.int4.dirk.core - package org.int4.dirk.core
 
org.int4.dirk.core.definition - package org.int4.dirk.core.definition
 
org.int4.dirk.core.definition.factory - package org.int4.dirk.core.definition.factory
 
org.int4.dirk.core.definition.injection - package org.int4.dirk.core.definition.injection
 
org.int4.dirk.core.discovery - package org.int4.dirk.core.discovery
 
org.int4.dirk.core.store - package org.int4.dirk.core.store
 
org.int4.dirk.core.util - package org.int4.dirk.core.util
 

P

put(T) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Adds a type T to the store.
putAll(Collection<Injectable<?>>) - Method in class org.int4.dirk.core.store.InjectableStore
Adds multiple Injectables to the store.
putAll(Collection<T>) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Adds multiple type Ts to the store.

Q

QualifiedType - Class in org.int4.dirk.core.definition
Represents a fully resolved Type with a set of qualifier Annotations.
QualifiedType(Type) - Constructor for class org.int4.dirk.core.definition.QualifiedType
Constructs a new instance.
QualifiedType(Type, Collection<Annotation>) - Constructor for class org.int4.dirk.core.definition.QualifiedType
Constructs a new instance.
QualifiedTypeStore<T> - Class in org.int4.dirk.core.store
Store which keeps track of types T for which a Key can be extracted.
QualifiedTypeStore(Function<T, Key>, Function<T, Set<Type>>) - Constructor for class org.int4.dirk.core.store.QualifiedTypeStore
Constructs a new instance.

R

register(Type) - Method in class org.int4.dirk.core.StandardInjector
 
register(Collection<Type>) - Method in class org.int4.dirk.core.StandardInjector
 
registerInstance(Object, Annotation...) - Method in class org.int4.dirk.core.StandardInjector
 
remove(Object) - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
 
remove(Type) - Method in class org.int4.dirk.core.StandardInjector
 
remove(Collection<Type>) - Method in class org.int4.dirk.core.StandardInjector
 
remove(T) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Removes a type T from the store.
removeAll(Collection<Injectable<?>>) - Method in class org.int4.dirk.core.store.InjectableStore
Removes multiple Injectables from the store.
removeAll(Collection<T>) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Removes multiple type Ts from the store.
removeInstance(Object, Annotation...) - Method in class org.int4.dirk.core.StandardInjector
 
resolve(Key) - Method in class org.int4.dirk.core.store.InjectableStore
 
resolve(Key) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
 
resolve(Key) - Method in interface org.int4.dirk.core.store.Resolver
Look up types T by Key.
Resolver<T> - Interface in org.int4.dirk.core.store
Implementers provide a way to look up a type T by Key.

S

StandardInjector - Class in org.int4.dirk.core
A standard implementation of Injector provided with the framework.
StandardInjector(Collection<InjectionTargetExtension<?, ?>>, Collection<TypeRegistrationExtension>, List<ScopeResolver>, InjectorStrategy, boolean) - Constructor for class org.int4.dirk.core.StandardInjector
Constructs a new instance.

T

toSet() - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Returns a set with a copy of all type Ts that are part of this store.
toSet(Function<Stream<T>, U>) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
Applies a function over all type Ts that are part of this store.
toString() - Method in class org.int4.dirk.core.definition.Key
 
toString() - Method in class org.int4.dirk.core.definition.QualifiedType
 
toString() - Method in class org.int4.dirk.core.store.QualifiedTypeStore
 
A B C D E F G H I K M O P Q R S T 
All Classes All Packages