Just to confirm that there is no other way -

I have DB access objects as separate XYZOperation classes. 
They are just classes, not pages or components.

How to inject Logger into them? 

The only logical solution would be to build special service, say
ContextService, 
which has logger, inject it into page/component where I use operations, 
and pass it to operation constructor.

Or there is a smarter way?
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Injecting-Logger-into-non-component-classes-tp5339492p5339492.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to