Interface Binding
- All Known Implementing Classes:
NonBinding,SequenceBinding,SimpleBinding
public interface Binding
Represents an injection binding
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclaims(honeyroasted.jype.system.JTypeSystem system, InjectionTarget target) Test whether thisBindinghandles the givenInjectionTargethandle(honeyroasted.jype.system.JTypeSystem system, InjectionTarget target) Handles the givenInjectionTarget
-
Method Details
-
claims
Test whether thisBindinghandles the givenInjectionTarget- Parameters:
system- TheJTypeSystemto use for type logictarget- The injection target- Returns:
- True if this binding handles the given target
-
handle
Handles the givenInjectionTarget- Parameters:
system- TheJTypeSystemto use for type logictarget- The injection target- Returns:
- The
InjectionResultof handling the given target
-