public final class

LocatorWiring

extends Object
implements Wiring
java.lang.Object
   ↳ org.eclipse.sisu.wire.LocatorWiring

Class Overview

Adds BeanLocator-backed bindings for unresolved bean dependencies.

Summary

Public Constructors
LocatorWiring(Binder binder)
Public Methods
boolean wire(Key<?> key)
Attempts to satisfy the given dependency by applying a local binding.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.eclipse.sisu.wire.Wiring

Public Constructors

public LocatorWiring (Binder binder)

Public Methods

public boolean wire (Key<?> key)

Attempts to satisfy the given dependency by applying a local binding.

Parameters
key The dependency key
Returns
  • true if the wiring succeeded; otherwise false