fix the LocatorClientEnabler for Spring use case
@@ -23,6 +23,7 @@ import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
+import javax.annotation.Resource;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Singleton;
@@ -44,6 +45,7 @@ public class LocatorClientEnabler {
private ServiceLocator locatorClient;
@Inject
+ @Resource(name = "locatorSelectionStrategyMap")
private Map<String, LocatorSelectionStrategyFactory> locatorSelectionStrategies;
private String defaultLocatorSelectionStrategy;
