Package io.smallrye.graphql.cdi
Class CdiLookupService
java.lang.Object
io.smallrye.graphql.cdi.CdiLookupService
- All Implemented Interfaces:
io.smallrye.graphql.spi.LookupService
Lookup service that gets the beans via CDI
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.graphql.spi.LookupService
io.smallrye.graphql.spi.LookupService.DefaultLookupService, io.smallrye.graphql.spi.LookupService.DefaultManagedInstance<T> -
Field Summary
Fields inherited from interface io.smallrye.graphql.spi.LookupService
lookupService, lookupServices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> <T> io.smallrye.graphql.spi.ManagedInstance<T> getInstance(Class<T> declaringClass) getName()booleanisResolvable(Class<?> declaringClass)
-
Constructor Details
-
CdiLookupService
public CdiLookupService()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.smallrye.graphql.spi.LookupService
-
getClass
- Specified by:
getClassin interfaceio.smallrye.graphql.spi.LookupService
-
getInstance
- Specified by:
getInstancein interfaceio.smallrye.graphql.spi.LookupService
-
isResolvable
- Specified by:
isResolvablein interfaceio.smallrye.graphql.spi.LookupService
-