Issue Details (XML | Word | Printable)

Key: OSGI-469
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Costin Leau
Reporter: Rob Harrop
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring OSGi

Throw a custom exception type when a service proxy is accessed after being destroyed.

Created: 26/Apr/08 05:18 AM   Updated: 15/May/08 02:35 AM
Component/s: CORE
Affects Version/s: None
Fix Version/s: 1.1 RC1

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
Having to catch IllegalStateException to handle this case feels wrong. Maybe a subtype of ISE, ServiceProxyDestroyedException would be great.

Equinox doesn't correctly report null on ServiceReference.getBundle() when the service proxy is destroyed, even *after* the exception has been thrown :(

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.