@Singleton public class GuiceToHk2JITResolver extends Object implements JustInTimeInjectionResolver
Modifier and Type | Method and Description |
---|---|
static Class<?> |
getClassFromType(Type type) |
boolean |
justInTimeResolution(Injectee failedInjectionPoint)
This method will be called whenever an injection point cannot be resolved.
|
public boolean justInTimeResolution(Injectee failedInjectionPoint)
JustInTimeInjectionResolver
If this method throws an exception that exception will be added to the set of exceptions in the MultiException that may be thrown from the injection resolver
justInTimeResolution
in interface JustInTimeInjectionResolver
failedInjectionPoint
- The injection point that failed to resolveCopyright © 2018 Oracle Corporation. All rights reserved.