ES
- protocol-specific execution strategy implementationpublic final class DefaultRouteExecutionStrategyFactory<ES extends ExecutionStrategy> extends java.lang.Object implements RouteExecutionStrategyFactory<ES>
RouteExecutionStrategyFactory
that always throws IllegalArgumentException
.
This should be used as a default strategy factory when users did not provide their own implementation.Modifier and Type | Method and Description |
---|---|
static <ES extends ExecutionStrategy> |
defaultStrategyFactory()
Returns default
RouteExecutionStrategyFactory . |
ES |
get(java.lang.String id)
|
static <ES extends ExecutionStrategy> |
getUsingDefaultStrategyFactory(java.lang.String id)
Returns an
ES provided by defaultStrategyFactory() . |
public ES get(java.lang.String id)
RouteExecutionStrategyFactory
get
in interface RouteExecutionStrategyFactory<ES extends ExecutionStrategy>
id
- of RouteExecutionStrategy
ES
implementationpublic static <ES extends ExecutionStrategy> RouteExecutionStrategyFactory<ES> defaultStrategyFactory()
RouteExecutionStrategyFactory
.ES
- protocol-specific execution strategy implementationRouteExecutionStrategyFactory
public static <ES extends ExecutionStrategy> ES getUsingDefaultStrategyFactory(java.lang.String id)
ES
provided by defaultStrategyFactory()
.ES
- protocol-specific execution strategy implementationid
- of RouteExecutionStrategy
ES
provided by defaultStrategyFactory()