History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-561
Type: Improvement Improvement
Status: Accepted Accepted
Priority: Major Major
Assignee: Jason Dobies
Reporter: John Mazzitelli
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
RHQ Project

component needs a way to get the resource version

Created: 10/Jun/08 10:22 PM   Updated: 13/Oct/08 03:42 PM
Component/s: Plugin Container
Fix Version/s: None

Time Tracking:
Not Specified

Date of First Response: 19/Jul/08 06:24 PM


 Description  « Hide
There does not seem to be a way for a resource component to get the resource version, as discovered by the discovery component.

Discovery component discovers resources and determines its version while also determining the resource key.

But that information is not transfered to the resource component. I think ResourceContext needs to provide the version that the plugin container was given by the discovery component.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Joseph Marques - 19/Jul/08 06:24 PM
this sounds reasonable and should be a quick fix. just add another field, expose it with a getter, and make sure it's set by the ResourceContext constructor.