Hi All,
I want to make a service implementation, to an OSGi declarative service.
What I did was following.
public interface IMyService{ ... }
/**
* @scr.component name="a.b.service" immediate="true"
* @scr.service value="a.b.service.IMyService"
*/
public class MyServiceImpl implements IMyService{ ... }
And all works fine! But is this the recommended way?
If not what is the recommended way and why we use that way instead of this?
An explanation would be highly appreciated!
--
Thanks & regards,
Nirmal
Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev