RE: -LocalService variable not being injected by ServiceBuilder 7.2

David Ilechukwu, modified 5 Years ago. Regular Member Posts: 154 Join Date: 6/7/10 Recent Posts
I have a single service.xml where all my entities are defined. I notice that I can access the -Persistence variables in my entity. But when I use the -LocalService variables, it's not recognized by IDE and code also fails to compile. I even tried using the reference tag to reference specific entities already in my service.xml, but didn't solve the problem. Pls am I supposed to use Osgi to inject services inside same service.xml before I can use them? 
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
David Ilechukwu, modified 5 Years ago. Regular Member Posts: 154 Join Date: 6/7/10 Recent Posts
Thanks Christoph. Interesting read, I'd have to use @Reference to get in my local service variables then. Many thanks.