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

Bug 358619

Summary: Need a way to register URI handlers for resource bindings
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: jvincens, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-09-22 12:09:20 EDT
A @Resource binding can be URI-based, and there are various formats of the URI. We need the ability to register various handlers of such bindings in the runtime.

For example, there would be a handler set up by the test server for workspace:// bindings, so that at runtime it can create an SQLDataSource with the information coming from a workspace connection profile.

There would probably be another handler (built into the runtime) for jndi:// URIs.
Comment 1 Brian Svihovec CLA 2011-10-05 10:41:40 EDT
Justin,

Is this something that could alter our current design significantly, or is it incremental work to implement our existing design?

If it is incremental work, can this be deferred out of .7 until 1.0?  Also, is this a defect or an enhancement?
Comment 2 Justin Spadea CLA 2011-10-05 10:44:51 EDT
This is for 1.0. For 0.7.0 we just have built-in support of certain URIs (workspace, and soon jndi). We will generalize it when there's more time.