类 SimpleStrategyRegistrationImpl<T>

  • 类型参数:
    T - The strategy type.
    所有已实现的接口:
    StrategyRegistration<T>

    public class SimpleStrategyRegistrationImpl<T>
    extends Object
    implements StrategyRegistration<T>
    A simple implementation of StrategyRegistration.
    作者:
    Steve Ebersole
    • 构造器详细资料

      • SimpleStrategyRegistrationImpl

        public SimpleStrategyRegistrationImpl​(Class<T> strategyRole,
                                              Class<? extends T> strategyImplementation,
                                              Iterable<String> selectorNames)
        Constructs a SimpleStrategyRegistrationImpl.
        参数:
        strategyRole - The strategy contract
        strategyImplementation - The strategy implementation class
        selectorNames - The selection/registration names for this implementation
      • SimpleStrategyRegistrationImpl

        public SimpleStrategyRegistrationImpl​(Class<T> strategyRole,
                                              Class<? extends T> strategyImplementation,
                                              String... selectorNames)
        Constructs a SimpleStrategyRegistrationImpl.
        参数:
        strategyRole - The strategy contract
        strategyImplementation - The strategy implementation class
        selectorNames - The selection/registration names for this implementation