この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi,
I want to understand the use of metatype for component. I understand, if we keep it true than it will generate metatype.xml else it would not. But what is the advantage of keeping data in this xml? Is there any added feature that we get because of this or does it have any advantage over not having metatype as true. Also, what are the scenarios where we should look to generate metatype.xml and where we should avoid.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi,
the most obvious thing is, that when you have "metatype=true" in your @Component annotation, this component/service shows up with its properties in the Sling webconsole in the "Configuration" page (/system/console/configmgr).
kind regards,
Jörg
表示
返信
いいね!の合計
Here are a few good community articles that address this subject:
http://blog.osgi.org/2011/03/metatypes.html
http://felix.apache.org/documentation/subprojects/apache-felix-metatype-service.html
表示
返信
いいね!の合計
it just enables another option to edit the metadata of a bundle.
[1] would give a little insight to it
表示
返信
いいね!の合計
Hi,
the most obvious thing is, that when you have "metatype=true" in your @Component annotation, this component/service shows up with its properties in the Sling webconsole in the "Configuration" page (/system/console/configmgr).
kind regards,
Jörg
表示
返信
いいね!の合計