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).
A resource has already been resolved. What is the best way to modify a property of an asset resource in an OSGi service
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A resource has already been resolved. What is the best way to modify a property of an asset resource in an OSGi service
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!