[Dev] [SS] [IS] Programmatically Creating Service Providers at Server Start Up

2014-09-03 Thread Dhanuka Ranasinghe
Hi, When I was working on $Subject, found that this can't be done due to not having an OSGi service from IS level but only admin service. AFAIK, it's not recommend to call admin service unless server boot up. Use Case: SS has static/system resources (environments, instances and databases), so we

Re: [Dev] [SS] [IS] Programmatically Creating Service Providers at Server Start Up

2014-09-03 Thread Dhanuka Ranasinghe
PING.. :-) *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Wed, Sep 3, 2014 at 5:27 PM, Dhanuka Ranasinghe wrote: > Hi, > > When I was working on $Subject, found that this can't be done due to not > having an O

Re: [Dev] [SS] [IS] Programmatically Creating Service Providers at Server Start Up

2014-09-03 Thread Sameera Jayasoma
+1. We do not recommend to invoke admin services programmatically. Thanks, Sameera. On Thu, Sep 4, 2014 at 10:54 AM, Prabath Abeysekera wrote: > Hi Guys, > > On Wed, Sep 3, 2014 at 5:27 PM, Dhanuka Ranasinghe > wrote: > >> Hi, >> >> When I was working on $Subject, found that this can't be don

Re: [Dev] [SS] [IS] Programmatically Creating Service Providers at Server Start Up

2014-09-03 Thread Prabath Abeysekera
Hi Guys, On Wed, Sep 3, 2014 at 5:27 PM, Dhanuka Ranasinghe wrote: > Hi, > > When I was working on $Subject, found that this can't be done due to not > having an OSGi service from IS level but only admin service. AFAIK, it's > not recommend to call admin service unless server boot up. > > Use Ca