What is the best way to modify a property of an asset resource in an OSGi service implementation?

Posted by: Pdfprep Category: AD0-E100 Tags: , ,

A resource has already been resolved.

What is the best way to modify a property of an asset resource in an OSGi service implementation?
A . resource.setProperty(“isFlagged”, true).
B . Adapt resource to Node.class, then invoke node.setProperty(“isFlagged”, true).
C . item.setProperty(“isFlagged”, true).
D . Start a new AssetsManager object, then invoke setAssetProperty(resource, “isFlagged”, true).

Answer: C

Leave a Reply

Your email address will not be published.