Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319369

Summary: Rename service scope control property
Product: [RT] Virgo Reporter: Steve Powell <zteve.powell>
Component: unknownAssignee: Glyn Normington <glyn.normington>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: glyn.normington
Version: unspecified   
Target Milestone: 2.1.0.M05-incubation   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Steve Powell CLA 2010-07-09 07:35:51 EDT
com.springsource.service.scope is a property on services that if set to 'global' allows the service to be made available outside of an application scope.

This is an inappropriate name. Update all references (including in docs and tests) to this property name -- change to something like: org.eclipse.virgo.service.scope.
Comment 1 Glyn Normington CLA 2010-09-20 06:45:55 EDT
Because a failure to rename this property is likely to be tricky to debug, we tolerate the old property name as a synonym for the new property name, at least for the 2.1.0 release. See http://wiki.eclipse.org/Virgo/Community/Migrating_from_dm_Server#Migrating_from_dm_Server_2.0.x_to_Virgo_2.1.0.x.
Comment 2 Glyn Normington CLA 2010-09-21 09:16:50 EDT
At Steve's suggestion, when the old property name is encountered, we issue a warning, like this:

<KE0300W> Service property in bundle 'oldService' version '1.0.0' (bean 'oldBean') should be renamed from com.springsource.service.scope to org.eclipse.virgo.service.scope.
Comment 3 Glyn Normington CLA 2010-09-27 08:34:29 EDT
RC1 is planned instead of milestone 5.