Interface StrategyRegistration<T>

  • Type Parameters:
    T - The type of the strategy described by this implementation registration.
    All Known Implementing Classes:

    public interface StrategyRegistration<T>
    Describes the registration of a named strategy implementation.

    A strategy + selector name should resolve to a single implementation.

    • Method Detail

      • getStrategyRole

        Class<T> getStrategyRole()
        The strategy role. Best practice says this should be an interface.
        The strategy contract/role.
      • getSelectorNames

        Iterable<String> getSelectorNames()
        Any registered names for this strategy registration.
        The registered selection names.
      • getStrategyImplementation

        Class<? extends T> getStrategyImplementation()
        The strategy implementation class.
        The strategy implementation.