You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Janne Kario <ja...@gmail.com> on 2009/07/30 21:56:59 UTC
ManagedService and web console
What are the exact requirements for my component configuration dialog
showing up in the Felix management console?
I have thus far
1) Created a refining driver which registers devices (device class
implements the ManagedService interface)
2) Have the refining driver implement the MetaTypeProvider interface
My MetaTypeProvider.getObjectClassDefinition(String, String) is never
called. I though that this was the starting point of the whole
configuration stuff.
What additional steps are needed?
j
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: ManagedService and web console
Posted by Felix Meschberger <fm...@gmail.com>.
Hi Janne,
Janne Kario schrieb:
> What are the exact requirements for my component configuration dialog
> showing up in the Felix management console?
>
> I have thus far
>
> 1) Created a refining driver which registers devices (device class
> implements the ManagedService interface)
> 2) Have the refining driver implement the MetaTypeProvider interface
>
> My MetaTypeProvider.getObjectClassDefinition(String, String) is never
> called. I though that this was the starting point of the whole
> configuration stuff.
>
> What additional steps are needed?
I assume your class is being registered as a ManagedService service for
it to be picked up by the MetaType service ?
Also, if your bundle has any metatype descriptor files, the
MetaTypeProvider services (actually ManagedService[Factory] services
also implementing the MetaTypeProvider interface) will never be picked up.
Regards
Felix
>
> j
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org