On Tue, Mar 25, 2014 at 11:29 AM, Shazni Nazeer <[email protected]> wrote:
> Forwarding the same to only dev group and removing support as this doesn't > contain any customer information > You can use the PriviledgedCarbonContext to access the OSGI services. Eg : PriviledgedCarbonContext.getCurrentContext().getOSGiService(< OSGIServiceInterfaceName>.class); Thanks -Ajith > Shazni Nazeer > > Senior Software Engineer > > Mob : +94 715 440 607 > LinkedIn : http://lk.linkedin.com/in/shazninazeer > Blog : http://shazninazeer.blogspot.com > > > ---------- Forwarded message ---------- > From: Shazni Nazeer <[email protected]> > Date: Tue, Mar 25, 2014 at 11:13 AM > Subject: Is it possible to access an OSGI service in a web app > To: support-dev-group <[email protected]>, dev <[email protected]> > Cc: Sagara Gunathunga <[email protected]>, Sameera Jayasoma < > [email protected]> > > > Hi All, > > I've a question $subject. > > A customer wants to know how to access an OSGI service in a web app he is > writing to deploy on AS. > > Shazni Nazeer > > Senior Software Engineer > > Mob : +94 715 440 607 > LinkedIn : http://lk.linkedin.com/in/shazninazeer > Blog : http://shazninazeer.blogspot.com > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : [email protected] Mobile : +94772217350
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
