Uses of Class
de.aristaflow.adept2.util.injection.InjectionException
Packages that use InjectionException
-
Uses of InjectionException in de.aristaflow.adept2.util.injection
Methods in de.aristaflow.adept2.util.injection that return InjectionExceptionModifier and TypeMethodDescriptionPendingInjections.getFailure()Gets the failure of the claim ornullif the claim did not run or succeeded.Methods in de.aristaflow.adept2.util.injection that throw InjectionExceptionModifier and TypeMethodDescriptiondefault voidInjectionAware.afterInjection()Called after allInjectedfields of this object have been populated; the complete object graph has been restored by then.voidPendingInjections.claim(BindingContext bindings, Object target, Logger logger) Claims the recorded objects: populates theirInjectedfields from the designated bindings and then callsafterInjectionon each of them in recorded order.BindingContext.getBinding(Class<?> type, List<Class<?>> typeArgs, String name, Class<?> declaringClass, Object target) Gets the local object serving the designated declaration ornullif the environment does not provide it.protected static Collection<InjectionEngine.InjectedField>InjectionEngine.getInjectedFields(Class<?> cls) Gets theInjectedfields the designated class validly declares in its class tree, in the order the engine populates them.static voidInjectionEngine.inject(Object instance, BindingContext bindings, Object target, Logger logger) Populates theInjectedfields of the designated instance from the designated bindings.static ObjectGets the designated object unchanged unless it isInjectionAware, in which case the refusal of the stream applies.