T - The strategy type.public class SimpleStrategyRegistrationImpl<T> extends Object implements StrategyRegistration<T>
| Constructor and Description |
|---|
SimpleStrategyRegistrationImpl(Class<T> strategyRole,
Class<? extends T> strategyImplementation,
Iterable<String> selectorNames)
Constructs a SimpleStrategyRegistrationImpl.
|
SimpleStrategyRegistrationImpl(Class<T> strategyRole,
Class<? extends T> strategyImplementation,
String... selectorNames)
Constructs a SimpleStrategyRegistrationImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
getSelectorNames()
Any registered names for this strategy registration.
|
Class<? extends T> |
getStrategyImplementation()
The strategy implementation class.
|
Class<T> |
getStrategyRole()
The strategy role.
|
public SimpleStrategyRegistrationImpl(Class<T> strategyRole, Class<? extends T> strategyImplementation, Iterable<String> selectorNames)
strategyRole - The strategy contractstrategyImplementation - The strategy implementation classselectorNames - The selection/registration names for this implementationpublic SimpleStrategyRegistrationImpl(Class<T> strategyRole, Class<? extends T> strategyImplementation, String... selectorNames)
strategyRole - The strategy contractstrategyImplementation - The strategy implementation classselectorNames - The selection/registration names for this implementationpublic Class<T> getStrategyRole()
StrategyRegistrationgetStrategyRole in interface StrategyRegistration<T>public Iterable<String> getSelectorNames()
StrategyRegistrationgetSelectorNames in interface StrategyRegistration<T>public Class<? extends T> getStrategyImplementation()
StrategyRegistrationgetStrategyImplementation in interface StrategyRegistration<T>Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.