Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove/document unreferenced bean #15

Open
danizen opened this issue Aug 16, 2016 · 0 comments
Open

remove/document unreferenced bean #15

danizen opened this issue Aug 16, 2016 · 0 comments

Comments

@danizen
Copy link
Contributor

danizen commented Aug 16, 2016

ebi-lode-service.xml explicitly wires the ExplorerServlet (a Spring controller, not a servlet), as follows:

    <bean id="serviceServlet" class="uk.ac.ebi.fgpt.lode.servlet.ExplorerServlet">
        <property name="sparqlService" ref="jenaSparqlService"/>
        <property name="configuration" ref="explorerConfig"/>
        <property name="service" ref="explorerServiceImpl"/>
    </bean>

However, the bean actually used by Spring's DispatcherServlet is autowired through lode-servlet.xml

It took me quite awhile to discover that editing the bean in ebi-lode-service.xml wouldn't do me any good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant