On 1/13/12 6:27 PM, Stephen Bayliss wrote:
Should we be grabbing the TcProvider with an OSGi SCR @Reference annotation, or TcManager.getInstance() ?
If you are doing it from within an OSGi service component it is fine to use a @Reference TcManager (not TcProvider because there can be several other TcProviders).
Otherwise TcManager.getInstance() should work just the same. @Reto am I wrong?
Alessandro -- M.Sc. Alessandro Adamou Alma Mater Studiorum - Università di Bologna Department of Computer Science Mura Anteo Zamboni 7, 40127 Bologna - Italy Semantic Technology Laboratory (STLab) Institute for Cognitive Science and Technology (ISTC) National Research Council (CNR) Via Nomentana 56, 00161 Rome - Italy "As for the charges against me, I am unconcerned. I am beyond their timid, lying morality, and so I am beyond caring." (Col. Walter E. Kurtz) Not sent from my iSnobTechDevice
