A B C D E F G H I K M O P Q R S T
All Classes All Packages
All Classes All Packages
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
QualifiedTypeis 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 aType. - 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
Injectableassociated with the givenKeyin the store. - contains(Key) - Method in class org.int4.dirk.core.store.QualifiedTypeStore
-
Checks if there is a type
Tassociated with the givenKeyin 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
Injectablefrom the givenType. - 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 ownerType, an optionalMemberanAnnotatedElement, a list ofBindings and aConstructable. - 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 aDiscovererwhich 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 aDiscovererwhich 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
ScopeResolverwith 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
- 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
Constructablewhich 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
AccessibleObjectfor the binding. - getAnnotatedConstructor(Class<?>) - Method in class org.int4.dirk.core.definition.BindingProvider
-
Returns an annotated
Constructorsuitable for injection. - getAnnotatedConstructor(Class<?>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
-
Returns an annotated
Constructorsuitable for injection. - getAnnotatedElement() - Method in interface org.int4.dirk.core.definition.Binding
-
Returns the associated
AnnotatedElementfor 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
Constructorsuitable for injection. - getConstructor(Class<T>) - Method in class org.int4.dirk.core.definition.GenericBindingProvider
-
Returns a
Constructorsuitable for injection. - getElementKey() - Method in interface org.int4.dirk.core.definition.Binding
-
Returns the
Keyof 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
InjectionTargetExtensionwhich handles the givenClass. - 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
Parameterwhen theAccessibleObjectis 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
ExtendedScopeResolverof thisInjectable. - 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
Typeof the injection target. - getType() - Method in interface org.int4.dirk.core.definition.Injectable
-
Returns the
Typewhich is always fully resolved (no type variables) and nevervoid. - 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
-
A store for
InjectionTargetExtensions. - 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
ScopeResolverrepresents the dependent pseudo-scope. - isOptional() - Method in interface org.int4.dirk.core.definition.Binding
-
Returns whether this target accepts
nullas an injection value. - isPseudoScope() - Method in class org.int4.dirk.core.definition.ExtendedScopeResolver
-
Returns whether this
ScopeResolverrepresents a pseudo-scope.
K
- Key - Class in org.int4.dirk.core.definition
-
Represents a
Typewith a set of qualifierAnnotations. - 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
- 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
Constructableusing 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
Constructorand 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
Constructorand 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
Tto 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
Typewith a set of qualifierAnnotations. - 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
Tfor which aKeycan 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
Tfrom 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
TbyKey. - Resolver<T> - Interface in org.int4.dirk.core.store
-
Implementers provide a way to look up a type
TbyKey.
S
- StandardInjector - Class in org.int4.dirk.core
-
A standard implementation of
Injectorprovided 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
All Classes All Packages