public static RoutingStrategy getRoutingStrategy ( String attributeValue ) throws StrategyException { TaskInstanceStrategyFactory factory = getInstance ( ) ; String className = factory . getStrategyClassName ( attributeValue , StrategyType . RoutingStrategy ) ; RoutingStrategy strategy = ( RoutingStrategy ) factory . getStrategyInstance ( RoutingStrategy . class , className , null ) ; return strategy ; }
Returns a workgroup routing strategy instance based on an attribute value which can consist of either the routing strategy logical name or an xml document .