Mod4j: Modeling for Java using Domain Specific Languages

Dto-translators depend on service model

Details

  • Number of attachments :
    0

Description

When dto-translators use other dto-translators they are declared as instance variables. And they are supposed to be injected by Spring (as of revsion 2748).
But the Spring configuration (applicationContext.xml) for the used dto-translators is only generated when the underlying dto is imported into the Service model.
Before rev 2748 this was not nescesary because the used dto-translators (instance variables) where instantiated directly by 'new-ing' them and no Spring config was used.

Question: Is it still useful to inject instance variables by Spring, even if there is only one type that can be used?

Activity

Hide
Johan Vogelzang added a comment -

Done by Jos

Show
Johan Vogelzang added a comment - Done by Jos

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: