Posted by: Pdfprep
Post Date: November 20, 2020
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