A C D G I L O P R S T U V 
All Classes All Packages

A

AbstractScopeResolver<S> - Class in org.int4.dirk.spi.scope
Abstract base implementation of a ScopeResolver which manages a map of instances per scope.
AbstractScopeResolver() - Constructor for class org.int4.dirk.spi.scope.AbstractScopeResolver
 
add(Field, Type) - Method in interface org.int4.dirk.spi.discovery.TypeRegistrationExtension.Registry
Adds a derived type given a Field and the field's owner Type.
add(Method, Type) - Method in interface org.int4.dirk.spi.discovery.TypeRegistrationExtension.Registry
Adds a derived type given a Method and the method's owner Type.
add(Type) - Method in interface org.int4.dirk.spi.discovery.TypeRegistrationExtension.Registry
Adds a derived type given a Type.
AnnotationStrategy - Interface in org.int4.dirk.spi.config
Strategy for checking and obtaining annotations relevant to dependency injection.

C

create() - Method in interface org.int4.dirk.spi.instantiation.InstantiationContext
Creates an instance of type T.
create() - Method in interface org.int4.dirk.spi.scope.CreationalContext
Creates a new instance of type T wrapped in a CreationalContext.Reference.
create(Class<?>) - Method in interface org.int4.dirk.spi.config.LifeCycleCallbacksFactory
Creates a LifeCycleCallbacks for a given class.
createAll() - Method in interface org.int4.dirk.spi.instantiation.InstantiationContext
Creates all instances of type T this context can provide.
createProxyFactory(Class<T>) - Method in interface org.int4.dirk.spi.config.ProxyStrategy
Creates a proxy factory for the given Class and returns a function which can be used to create a new proxy.
CreationalContext<T> - Interface in org.int4.dirk.spi.scope
Context used to create and destroy instances with injection information.
CreationalContext.Reference<T> - Interface in org.int4.dirk.spi.scope
A reference to an instance created by the CreationalContext with which the created instance can be released.

D

deriveTypes(TypeRegistrationExtension.Registry, Type) - Method in interface org.int4.dirk.spi.discovery.TypeRegistrationExtension
Called during registration of new types to allow the extension to register further types that can be directly derived from the given Type.
destroyScope(S) - Method in class org.int4.dirk.spi.scope.AbstractScopeResolver
Destroys the given scope.

G

get() - Method in interface org.int4.dirk.spi.config.ProxyStrategy.InstanceSupplier
Returns an underlying instance for the proxy of type T.
get() - Method in interface org.int4.dirk.spi.scope.CreationalContext.Reference
Gets the instance held by this reference.
get(Object, CreationalContext<T>) - Method in class org.int4.dirk.spi.scope.AbstractScopeResolver
 
get(Object, CreationalContext<T>) - Method in interface org.int4.dirk.spi.scope.ScopeResolver
Returns an existing instance associated with the given key, or uses the given context to create one.
getAnnotation() - Method in interface org.int4.dirk.spi.scope.ScopeResolver
Returns the annotation this resolver handles.
getAnnotationStrategy() - Method in interface org.int4.dirk.spi.config.InjectorStrategy
Returns the AnnotationStrategy to be used.
getCurrentScope() - Method in class org.int4.dirk.spi.scope.AbstractScopeResolver
Returns the current scope, or null if there is no current scope.
getDefaultAnnotation() - Method in interface org.int4.dirk.spi.config.ScopeStrategy
Returns the annotation that marks the default scope.
getDependentAnnotation() - Method in interface org.int4.dirk.spi.config.ScopeStrategy
Returns the annotation that marks the dependent pseudo-scope.
getElementType(Type) - Method in interface org.int4.dirk.spi.instantiation.InjectionTargetExtension
Returns the element type of the given type by unwrapping the given type.
getInjectAnnotations(AnnotatedElement) - Method in interface org.int4.dirk.spi.config.AnnotationStrategy
Returns all Annotations on the given AnnotatedElement which are inject annotations.
getInstance(InstantiationContext<E>) - Method in interface org.int4.dirk.spi.instantiation.InjectionTargetExtension
Creates an instance of type T using the given InstantiationContext.
getLifeCycleCallbacksFactory() - Method in interface org.int4.dirk.spi.config.InjectorStrategy
Returns the LifeCycleCallbacksFactory to be used.
getProxyStrategy() - Method in interface org.int4.dirk.spi.config.InjectorStrategy
Returns the ProxyStrategy to be used.
getQualifiers(AnnotatedElement) - Method in interface org.int4.dirk.spi.config.AnnotationStrategy
Returns all Annotations on the given AnnotatedElement which are qualifier annotations.
getScope(AnnotatedElement) - Method in interface org.int4.dirk.spi.config.ScopeStrategy
Returns the scope annotation on the given AnnotatedElement, if any.
getScopeStrategy() - Method in interface org.int4.dirk.spi.config.InjectorStrategy
Returns the ScopeStrategy to be used.
getSingletonAnnotation() - Method in interface org.int4.dirk.spi.config.ScopeStrategy
Returns the annotation that marks the singleton pseudo-scope.
getTargetClass() - Method in interface org.int4.dirk.spi.instantiation.InjectionTargetExtension
Returns the target class extended by this extension.
getTypeTraits() - Method in interface org.int4.dirk.spi.instantiation.InjectionTargetExtension
Returns the TypeTraits of this extension.

I

InjectionTargetExtension<T,​E> - Interface in org.int4.dirk.spi.instantiation
An interface to allow for custom handling of injection targets of type T.
InjectorStrategy - Interface in org.int4.dirk.spi.config
Strategy for controlling the behavior of an injector.
InstantiationContext<T> - Interface in org.int4.dirk.spi.instantiation
A context which can be used to create instances of type T which match all its criteria.
isActive() - Method in class org.int4.dirk.spi.scope.AbstractScopeResolver
 
isActive() - Method in interface org.int4.dirk.spi.scope.ScopeResolver
Returns true when this scope is currently active, otherwise false.
isOptional(AnnotatedElement) - Method in interface org.int4.dirk.spi.config.AnnotationStrategy
Checks if the given AnnotatedElement is optional.
isPseudoScope(Annotation) - Method in interface org.int4.dirk.spi.config.ScopeStrategy
Returns whether the given annotation is a pseudo-scope.
isQualifier(Annotation) - Method in interface org.int4.dirk.spi.config.AnnotationStrategy
Checks if the given Annotation is a qualifier annotation.

L

LAZY - org.int4.dirk.spi.instantiation.TypeTrait
Indicates that the instance produced is a provider which will only resolve the key upon use.
LifeCycleCallbacks - Interface in org.int4.dirk.spi.config
Interface for calling life cycle methods on a given instance.
LifeCycleCallbacksFactory - Interface in org.int4.dirk.spi.config
Factory for LifeCycleCallbacks.

O

org.int4.dirk.spi.config - package org.int4.dirk.spi.config
 
org.int4.dirk.spi.discovery - package org.int4.dirk.spi.discovery
 
org.int4.dirk.spi.instantiation - package org.int4.dirk.spi.instantiation
 
org.int4.dirk.spi.scope - package org.int4.dirk.spi.scope
 

P

postConstruct(Object) - Method in interface org.int4.dirk.spi.config.LifeCycleCallbacks
Calls all post construct life cycle methods which were discovered on a type on an instance of the same type.
preDestroy(Object) - Method in interface org.int4.dirk.spi.config.LifeCycleCallbacks
Calls all pre-destroy life cycle methods which were discovered on a type on an instance of the same type.
ProxyStrategy - Interface in org.int4.dirk.spi.config
A strategy that determines how to create proxies.
ProxyStrategy.InstanceSupplier<T> - Interface in org.int4.dirk.spi.config
Supplies instances that are wrapped by a proxy.

R

release() - Method in interface org.int4.dirk.spi.scope.CreationalContext.Reference
Releases this reference.
remove(Object) - Method in class org.int4.dirk.spi.scope.AbstractScopeResolver
 
remove(Object) - Method in interface org.int4.dirk.spi.scope.ScopeResolver
Removes the given key from this scope resolver.
REQUIRES_AT_LEAST_ONE - org.int4.dirk.spi.instantiation.TypeTrait
Indicates that at least one matching dependency must be available.
REQUIRES_AT_MOST_ONE - org.int4.dirk.spi.instantiation.TypeTrait
Indicates that at most one matching dependency can be available.

S

ScopeResolver - Interface in org.int4.dirk.spi.scope
Handles resolving of types with a specific scope annotation.
ScopeStrategy - Interface in org.int4.dirk.spi.config
Defines the strategy for scope handling.
select(Annotation...) - Method in interface org.int4.dirk.spi.instantiation.InstantiationContext
Creates an InstantiationContext based on this context which further narrows the potential matching instances by requiring additional qualifiers.
select(Class<U>, Annotation...) - Method in interface org.int4.dirk.spi.instantiation.InstantiationContext
Creates an InstantiationContext based on this context which further narrows the potential matching instances to a subtype of T and the given additional qualifiers.
select(Type, Annotation...) - Method in interface org.int4.dirk.spi.instantiation.InstantiationContext
Creates an InstantiationContext based on this context which further narrows the potential matching instances to a subtype of T and the given additional qualifiers.

T

TypeRegistrationExtension - Interface in org.int4.dirk.spi.discovery
An extension called during registration of types to derive and register additional types for a given type.
TypeRegistrationExtension.Registry - Interface in org.int4.dirk.spi.discovery
Allows registration of newly derived types.
TypeTrait - Enum in org.int4.dirk.spi.instantiation

U

UnknownScopeException - Exception in org.int4.dirk.spi.scope
Thrown when an attempt is made to register an injectable which was annotated with a scope for which no corresponding ScopeResolver was provided.
UnknownScopeException(String) - Constructor for exception org.int4.dirk.spi.scope.UnknownScopeException
Constructs a new instance.

V

valueOf(String) - Static method in enum org.int4.dirk.spi.instantiation.TypeTrait
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.int4.dirk.spi.instantiation.TypeTrait
Returns an array containing the constants of this enum type, in the order they are declared.
A C D G I L O P R S T U V 
All Classes All Packages