But, would it be possible to move all these things in to CarbonContext?
OSGIServiceLocator was a generic class to locate a service and there is no
relation with rule or a particular OSGI service and was a workaround to
lookup an OSGI service when it is impossible to use a declarative service
reference for accessing an OSGI service.

~ Indika

On Wed, Mar 30, 2011 at 12:17 PM, Supun Kamburugamuva <su...@wso2.com>wrote:

> I can simply put the eventing service in to mediation initializer and
> then put it to the configuration context as a property. But this may
> be not the correct approach.
>
> Thanks,
> Supun..
>
> On Wed, Mar 30, 2011 at 11:24 AM, Indika Kumara <ind...@wso2.com> wrote:
> > A year back, I wrote a class to be used in the rule mediator to pick some
> > OSGI services. Many OSGI services exposed from the carbon components
> cannot
> > be otherwise accessed by a mediator.
> >
> > Thanks,
> >
> > Indika
> >
> > [1]
> >
> https://svn.wso2.org/repos/wso2/trunk/carbon/components/rule/org.wso2.carbon.rule.server/src/main/java/org/wso2/carbon/rule/server/OSGIServiceLocator.java
> >
> > On Wed, Mar 30, 2011 at 11:46 AM, Supun Kamburugamuva <su...@wso2.com>
> > wrote:
> >>
> >> From a ESB mediator we would like to get the EventBroker service. But
> >> since mediators are fragments they cannot access this service. Is it
> >> possible to put the eventing service in to carbon context?
> >>
> >> Thanks,
> >> --
> >> Supun Kamburugamuva
> >> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
> >> Member, Apache Software Foundation; http://www.apache.org
> >> WSO2 Inc.;  http://wso2.org
> >> E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
> >> Blog: http://supunk.blogspot.com
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Supun Kamburugamuva
> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
> Member, Apache Software Foundation; http://www.apache.org
> WSO2 Inc.;  http://wso2.org
> E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
> Blog: http://supunk.blogspot.com
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to