Hi Sameera,

Thanks for the provided info.In bpmn component   to  build  activiti
engine, we require the datasource bundle to be available. Therefore we
tried adding  @Reference annotation  of
org.wso2.carbon.kernel.datasource.core.internal.DataSourceListenerComponent
(for activate method of ActivitiEngineBuilder) but this did not work.

 AFAIU what you suggest is to implement a Listener class that would contain
onJNDIReady() method, which would require other bundles(activiti bundle in
this case) to wait until this method is executed.  Could you please provide
any suggestions on this?

Regards,


On Tue, Mar 15, 2016 at 8:52 AM, Sameera Jayasoma <[email protected]> wrote:

> HI Himasha,
>
> You can refer following documents and samples.
>
> https://github.com/wso2/carbon-jndi
>
> https://github.com/wso2/carbon-datasources/blob/master/sample/src/main/java/org/wso2/carbon/datasource/sample/DataSourceServiceListenerComponent.java
>
> On Tue, Mar 15, 2016 at 4:08 AM, Himasha Guruge <[email protected]> wrote:
>
>> Hi Sameera,
>>
>> With regards to $subject, so far we have used the workaround of manually
>> renaming the bundle's symbolic name which works perfectly. However is it
>> possible to know when this fix will be available?
>>
>> Regards,
>>
>> Himasha Guruge
>> *Software Engineer*
>> WS*O2* *Inc.*
>> Mobile: +94 777459299
>> [email protected]
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


-- 
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to