[ 
https://issues.apache.org/jira/browse/EAGLE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417980#comment-15417980
 ] 

ASF GitHub Bot commented on EAGLE-455:
--------------------------------------

Github user yonzhang commented on the issue:

    https://github.com/apache/incubator-eagle/pull/331
  
    @Override
        public void register(ModuleRegistry registry) {
            registry.register(MemoryMetadataStore.class, new AbstractModule() {
                @Override
                protected void configure() {
                    
bind(ISecurityMetadataDAO.class).to(InMemMetadataDaoImpl.class);
                }
            });
    
            registry.register(JDBCMetadataStore.class, new AbstractModule() {
                @Override
                protected void configure() {
                    
bind(ISecurityMetadataDAO.class).to(JDBCSecurityMetadataDAO.class);
                }
            });
        }
    
    Again this is too cumbersome, too much code for application and application 
developer need understand the framework to use.
    Further, what if the application needs know configuration for eagle server. 
I still prefer to have global configuration to each application for flexibility.


> Provide shared JDBCQueryService for JDBCMetadataStore
> -----------------------------------------------------
>
>                 Key: EAGLE-455
>                 URL: https://issues.apache.org/jira/browse/EAGLE-455
>             Project: Eagle
>          Issue Type: New Feature
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to