Class SimpleStrategyRegistrationImpl<T>

java.lang.Object
org.hibernate.boot.registry.selector.SimpleStrategyRegistrationImpl<T>
Type Parameters:
T - The strategy type.
All Implemented Interfaces:
StrategyRegistration<T>

public class SimpleStrategyRegistrationImpl<T> extends Object implements StrategyRegistration<T>
A simple implementation of StrategyRegistration.
  • Constructor Details

    • SimpleStrategyRegistrationImpl

      public SimpleStrategyRegistrationImpl(Class<T> strategyRole, Class<? extends T> strategyImplementation, Iterable<String> selectorNames)
      Constructs a SimpleStrategyRegistrationImpl.
      Parameters:
      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.
      Parameters:
      strategyRole - The strategy contract
      strategyImplementation - The strategy implementation class
      selectorNames - The selection/registration names for this implementation
  • Method Details