|
Programming Languages
»
Scala Programming Language
»
Scala - User
Dependency injection in Scala?
View:
Threaded
List (by date)
Classic
Old framed views
38 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
Stepan Koltsov-2
–
Dependency injection in Scala?
Stepan Koltsov-2
Dependency injection in Scala? -
Hello, Is there any way to write code in Scala as in Java+Spring? I. e. with dependency injection of...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jamie Webb-2
Jamie Webb-2
On 2008-02-01 19:18:53 Stepan Koltsov wrote: > Hello, > > Is there any way to write code in Scala as in Java+Spring?...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Stepan Koltsov-2
Stepan Koltsov-2
On 2/1/08, Jamie Webb <j@...> wrote: > On 2008-02-01 19:18:53 Stepan Koltsov wrote: > > Is there any way...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jamie Webb-2
Jamie Webb-2
On 2008-02-03 20:45:54 Stepan Koltsov wrote: > This does not work well. > > 1. If Sensor component is used in two...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Stepan Koltsov-2
Stepan Koltsov-2
On 2/4/08, Jamie Webb <j@...> wrote: > On 2008-02-03 20:45:54 Stepan Koltsov wrote: > > This does not...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jamie Webb-2
Jamie Webb-2
On 2008-02-04 15:49:55 Stepan Koltsov wrote: > object App { > val theSensor = new Sensor > val theWarmer =...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Stepan Koltsov-2
Stepan Koltsov-2
On 2/4/08, Jamie Webb <j@...> wrote: > On 2008-02-04 15:49:55 Stepan Koltsov wrote: > > object App { >...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jonas Bonér-6
Jonas Bonér-6
Hi guys. Thanks for a great discussion. I was wondering if there is a reason why nobody has mentioned using...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jörn Zaefferer-2
Jörn Zaefferer-2
That looks like an interesting approach to autowiring. I haven't yet seen implicit used on constructor arguments (or...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jonas Bonér-6
Jonas Bonér-6
On 04/02/2008, Jörn Zaefferer <joern.zaefferer@...> wrote: > That looks like an interesting approach to...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
David MacIver
David MacIver
On Feb 4, 2008 2:07 PM, Jonas Bonér <lists@...> wrote: > On 04/02/2008, Jörn Zaefferer...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Germán Buela
Germán Buela
Debasish's latest post in his blog is about scala and...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Patrick Wright
Patrick Wright
In the context of this discussion, it might be interesting to see what the Groovy people are doing, with something...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Adriaan Moors-2
Adriaan Moors-2
On 04 Feb 2008, at 18:39, Jonas Bonér wrote: > I was wondering if there is a reason why nobody has mentioned using ...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jörn Zaefferer-2
Jörn Zaefferer-2
Hi Adriaan, would you mind repeating your post here? It seems like the example you posted is incomplete and the...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Adriaan Moors-2
Adriaan Moors-2
Hi Jörn, I've attached the full example. The basic idea is to use implicits, so that we can have a type drive the...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Alex Boisvert-3
Alex Boisvert-3
On 2/4/08, Jonas Bonér <lists@...> wrote: > > I was wondering if there is a reason why nobody has mentioned...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
David Bernard-3
David Bernard-3
Why using subtyping or nested trait, a simple and classical constructor dependency injection is enough: class Sensor...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Jamie Webb-2
Jamie Webb-2
On 2008-02-04 14:23:44 David Bernard wrote: > Why using subtyping or nested trait, a simple and classical >...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink
‹
Robin Message
Robin Message
Scratch that, ignore me. In future, I promise to test if my answers actually even compile. Robin
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in list view (by date)
Permalink