Re: [Dev] [DEV] Accessing registry resource in java
Thanks Thusitha. Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Tue, Dec 15, 2015 at 5:03 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Ishara, > > AFAIK it is org.wso2.carbon.registry.core.service.RegistryService > > Thanks > > On Tue, Dec 15, 2015 at 4:53 PM, Ishara Cooray wrote: > >> Hi, >> In an osgi bundle, I have to read a .xml file which resides in super >> tenant's registry at the server startup, when activate() method is invoked. >> >> What could be the best approach to do this? >> >> I was thinking of wait until registry service is activated by adding a >> reference to my servicecomponent. If that is the case what could be the >> reference i should add? >> >> Thanks & Regards,. >> Ishara Cooray >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thusitha Dayaratne > Software Engineer > WSO2 Inc. - lean . enterprise . middleware | wso2.com > > Mobile +94712756809 > Blog alokayasoya.blogspot.com > Abouthttp://about.me/thusithathilina > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] Accessing registry resource in java
Hi Ishara, AFAIK it is org.wso2.carbon.registry.core.service.RegistryService Thanks On Tue, Dec 15, 2015 at 4:53 PM, Ishara Cooray wrote: > Hi, > In an osgi bundle, I have to read a .xml file which resides in super > tenant's registry at the server startup, when activate() method is invoked. > > What could be the best approach to do this? > > I was thinking of wait until registry service is activated by adding a > reference to my servicecomponent. If that is the case what could be the > reference i should add? > > Thanks & Regards,. > Ishara Cooray > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV] Accessing registry resource in java
Hi, In an osgi bundle, I have to read a .xml file which resides in super tenant's registry at the server startup, when activate() method is invoked. What could be the best approach to do this? I was thinking of wait until registry service is activated by adding a reference to my servicecomponent. If that is the case what could be the reference i should add? Thanks & Regards,. Ishara Cooray ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev