Hi,

On 16.02.2009, at 20:57, Pochat Jerome wrote:

Thanks all for quick answers!

My concern is to find a simple and generic UI to configure all my OSGi services (and service factories) that expose some properties, whatever technical tools/frameworks used by service (iPOJO, SCR...).

If meta type descriptor can be added to iPOJO services and make them visible from Web Console, that would be great! Any other solution/ idea would be appreciate also :) May be meta type information could be extracted from iPOJO annotations?

In the case of iPOJO, packaging time is not enough. But, after discussing with Felix, it seems to be possible to create a bridge computing metatype description for exposed iPOJO factories. In fact, all the required information is computed at runtime and is available (ComponentTypeDescription), so I just need to read it and to provide the correct Metatype. I will do it ASAP (I plan to use the Web Console very soon, so it should be available this week).

I just wonder how this mechanism can be used to add properties to services (property propagation).


Regards,


Clement





Clement Escoffier wrote:
Hi,

You're right, it doesn't work. I don't know how the Web console manages configurations. It might be possible that it requires a metatype file or something like this to "generate" the create form correctly. Right now,
the Factory configuration list is empty (despite I deploy several
ManagedServiceFactory services), and the create button does nothing. Did
you have the same behavior ?

Perhaps Carlsten or Felix can guide us to the light :-)

Yes, the current web console relies on the meta type description. Only
if a meta type description exists for a configuration or a factory, it
is displayed in the form.
The scr plugin generates the meta type descriptor by default, that's the
reason why it works this way :)

What exactly would you need? Maybe we could extend the console or can
you provide meta type information?

Carsten
--
Carsten Ziegeler
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to