Github user jjmeyer0 commented on the issue:

    https://github.com/apache/incubator-metron/pull/316
  
    @merrimanr you shouldn't need a config class. If I remember correctly, 
Spring is smart enough to pick up instances. As long as its scanning the 
package containing the services. If there are multiple implementations for an 
interface you should be able to do the following:
    ```
    interface SomeService {}
    
    @Service("SomeServiceImpl")
    class SomeServiceImpl implements SomeService {}
    
    @Service("SomeService2")
    class SomeServiceImpl2 implements SomeService {}
    
    // usage:
    
    @Autowired
    @Qualifier("SomeServiceImpl")
    SomeService SomeService;
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to