Class LocatorWiring

java.lang.Object
org.eclipse.sisu.wire.LocatorWiring
All Implemented Interfaces:
Wiring

public final class LocatorWiring extends Object implements Wiring
Adds BeanLocator-backed bindings for unresolved bean dependencies.
  • Constructor Details

    • LocatorWiring

      public LocatorWiring(com.google.inject.Binder binder)
  • Method Details

    • wire

      public boolean wire(com.google.inject.Key<?> key)
      Description copied from interface: Wiring
      Attempts to satisfy the given dependency by applying a local binding.
      Specified by:
      wire in interface Wiring
      Parameters:
      key - The dependency key
      Returns:
      true if the wiring succeeded; otherwise false