Announcement Announcement Module
Collapse
No announcement yet.
Wiring up scala singletons in spring context Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wiring up scala singletons in spring context

    Hi,

    Is there any facility in spring-scala to wire up a scala singleton (defined with the object keyword) into the spring XML context ?

    This is a situation I occasionally encounter in project mixing scala and spring, which I solve by using an helper class with a static factory method.
    I think it could be an interesting addition to spring-scala.

    Thibaut

  • #2
    That ought to do it i guess.

    Comment

    Working...
    X