Skip to content

Scalext and Spring #7

@eoliphan

Description

@eoliphan

Hi again, I'm using the spring framework as well in my app, and have realized that It may be difficult to have a Scalext @Remotable class/method also say get @Autowired correctly by spring. I'm using the apporach of creating a Global in play, and overriding getControllerInstance. I poked around in the code and you're of course doing a direct loadClass().

I'm thinking about doing some forking and hacking, but before I start do you have any suggestions in terms of an approach? I haven't had to do it in while, but I think one 'quick and dirty' approach would be to use Spring's load time weaving option, but this seems messier than I'd like lol

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions