Hi Richard, I'll try and explain what the code does so youll be better able
to help me. The dmsimport.class has a for loop that calls a method
containing Parser parser = DMSFactory.getParser. From the for loop, I pass
into the factory which parser were going to use. AutoMateParser is actually
a custom data scrubber used to scrub csv files. I receive many different
kinds of files from different companies, so we need different scrubbers in
the factory. All of them extend my generic parser class which contains the
line reader. In the Parser.class, I'm trying to access my vehicleDAO service
which contains my hibernate queries and commits. So the problem I'm having
is not being able inject any of my services into these classes which leaves
me stuck. I'm rewritting my old app which is still on 5.1 and uses old
cayenne stuff to 5.3 and hibernate. 

I'm familiar with binding interfaces with impl class, just not sure how to
use services inside extended classes or new classes. From what I've read and
understand is you can only use tap services when your class is using ioC.
"looking forward to a good tap book or a tap class to better understand this
stuff". Hope that helps. Sorry, I'm rather new to java too.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Question-tapestry-service-tp5715573p5715583.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to