Interface WiringStrategy


public interface WiringStrategy

A wiring strategy is used to determine whether a bean can be plugged into a socket.

Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isWirable(BeanInfo bean, SocketInfo socket)
    Determines whether the specified bean can be plugged into the specified socket.
  • Method Details

    • isWirable

      boolean isWirable(BeanInfo bean, SocketInfo socket)

      Determines whether the specified bean can be plugged into the specified socket.

      Parameters:
      bean - a bean
      socket - a socket
      Returns:
      true if the bean is pluggable into the socket, false otherwise