Interface StrategyRegistration<T>
- Type Parameters:
T
- The type of the strategy described by this implementation registration.
- All Known Implementing Classes:
SimpleStrategyRegistrationImpl
public interface StrategyRegistration<T>
Describes the registration of a named strategy implementation.
A strategy + selector name should resolve to a single implementation.
-
Method Summary
Modifier and TypeMethodDescriptionAny registered names for this strategy registration.The strategy implementation class.The strategy role.
-
Method Details
-
getStrategyRole
The strategy role. Best practice says this should be an interface.- Returns:
- The strategy contract/role.
-
getSelectorNames
Any registered names for this strategy registration.- Returns:
- The registered selection names.
-
getStrategyImplementation
The strategy implementation class.- Returns:
- The strategy implementation.
-