Uses of Class
org.int4.dirk.api.TypeLiteral
-
Packages that use TypeLiteral Package Description org.int4.dirk.api Provides the API for interacting with Dirk Injectors.org.int4.dirk.core Provides internal core classes for the Dirk injection framework.org.int4.dirk.spi.instantiation Provides the injection target extension interface. -
-
Uses of TypeLiteral in org.int4.dirk.api
Methods in org.int4.dirk.api with parameters of type TypeLiteral Modifier and Type Method Description <T> TInstanceResolver. getInstance(TypeLiteral<T> typeLiteral, java.lang.Object... qualifiers)Returns an instance of the type specified by the givenTypeLiteralmatching the given criteria (if any) in which all dependencies are injected.<T> java.util.List<T>InstanceResolver. getInstances(TypeLiteral<T> typeLiteral, java.lang.Object... qualifiers)Returns all instances of the type specified by the givenTypeLiteralmatching the given criteria (if any) in which all dependencies are injected. -
Uses of TypeLiteral in org.int4.dirk.core
Methods in org.int4.dirk.core with parameters of type TypeLiteral Modifier and Type Method Description <T> TStandardInjector. getInstance(TypeLiteral<T> typeLiteral, java.lang.Object... qualifiers)<T> java.util.List<T>StandardInjector. getInstances(TypeLiteral<T> typeLiteral, java.lang.Object... qualifiers) -
Uses of TypeLiteral in org.int4.dirk.spi.instantiation
Methods in org.int4.dirk.spi.instantiation with parameters of type TypeLiteral Modifier and Type Method Description <U extends T>
Instance<U>Instance. select(TypeLiteral<U> subtype, java.lang.annotation.Annotation... qualifiers)Creates anInstancebased on this one which further narrows the potential matching instances to a subtype ofTand the given additional qualifiers.
-