Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Niclas Hedhman
On 11/10/06, Benjamin Schmaus <[EMAIL PROTECTED]> wrote: I can send this code out if anyone's interested.Maybe you can stick it into /laboratory on our SVN server...I think Edward might be interested to integrate a "bootstrap configuration" feature to the Config Admin Agent based on Pax Wicket he i

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Benjamin Schmaus
> So say for instance, I want to create different service instance of > JdoService, each configured to connect into different databases. What's > the right way of doing this? Use ServiceFactory or ManagedServiceFactory > (which then will be created via ConfigurationAdmin.createFactory() > method)?

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Niclas Hedhman
First of all, thanks Peter, I got confused over the 'real definition' and how I have used it in the past, i.e. combine ServiceFactory with ManagedServcieFactory. That said, read below; On 11/10/06, Makas Tzavellas <[EMAIL PROTECTED]> wrote: Client only *shares* the same instance if they have the sh

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Makas Tzavellas
Niclas Hedhman wrote: > > > On 11/10/06, *Makas Tzavellas* <[EMAIL PROTECTED] > > wrote: > > For the ManagedServiceFactory's case, how would it be possible for > it to > serve different instance of a service if it's not registered? > > > The ManagedServiceFact

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Niclas Hedhman
On 11/10/06, Makas Tzavellas <[EMAIL PROTECTED]> wrote: One more thing I would like to add is that, I would like to have theability to "drop" a new bundle that connects to a new database where anew JdoService will be created to serve the connection. And eventually all the JdoServices created can be

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Niclas Hedhman
On 11/10/06, Makas Tzavellas <[EMAIL PROTECTED]> wrote: For the ManagedServiceFactory's case, how would it be possible for it toserve different instance of a service if it's not registered?The ManagedServiceFactory is registered as the service. For instance; public class Abc implements ManagedServi

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Makas Tzavellas
One more thing I would like to add is that, I would like to have the ability to "drop" a new bundle that connects to a new database where a new JdoService will be created to serve the connection. And eventually all the JdoServices created can be monitored by an external management console throu

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Makas Tzavellas
Niclas Hedhman wrote: > > > On 11/10/06, *Makas Tzavellas* <[EMAIL PROTECTED] > > wrote: > > My question is for each of the service objects created by > ServiceFactory, how can their separate configuration be managed > through > ManagedServiceFactory or ar

Re: Relation of ServiceFactory and ManagedServiceFactory

2006-11-10 Thread Niclas Hedhman
On 11/10/06, Makas Tzavellas <[EMAIL PROTECTED]> wrote: My question is for each of the service objects created byServiceFactory, how can their separate configuration be managed throughManagedServiceFactory or are they suppose to be configured throughManagedService? The configuration is determined t