|Modifier and Type||Method and Description|
Gets the class from the given type
This method will be called whenever an injection point cannot be resolved.
type- The type to find the class from
public boolean justInTimeResolution(Injectee failedInjectionPoint)
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.
This method can be called on multiple threads with different or the same
Injectee. Therefore care must be taken in this method to not add
the same descriptor more than once
failedInjectionPoint- The injection point that failed to resolve
ServiceLocatorwhich may be used to resolve the
Injectee. False if this method did not add a descriptor to the
ServiceLocatorthat might help resolve the injection point
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.