Hi, You can using the iPOJO API (http://felix.apache.org/site/apache-felix-ipojo-api.html) to modify the composition on the fly.
Regards, Clement On 6 sept. 2012, at 03:36, fabiolf <[email protected]> wrote: > Hello, > > I have a conceptual question about the use of composites in iPOJO. Suppose I > create a CompositeComponentType with two instances inside it and then create > an instance of this CompositeComponentType called A. > > Then, somehow, there is a need to add a third instance or swap one of the > two interior instances of A for a third one without having to dispose A and > then recreate it. Would that be possible? > > Delving into iPOJO's code, it looks like CompositeComponentType is just a > "template" of a component. The real deal happens later when we use its > metadata to create a Factory and then create an instance from it, right? So, > I wonder if it could be possible to modify the structure of this composite > instance when it is already created. > > Thanks, > Fabio > > > > -- > View this message in context: > http://apache-felix.18485.n6.nabble.com/Modifying-an-iPOJO-composite-instance-in-runtime-tp4999210.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >

