[jboss-dev-forums] [Design of POJO Server] - [jboss-metadata] Decoupling JNDI Logic from Object Model

ALRubinger do-not-reply at jboss.com
Wed Jul 2 02:16:27 EDT 2008


Issue with attached patch is:

http://jira.jboss.com/jira/browse/JBMETA-68

Putting this one up for some public debate before committing.

The primary drivers are listed as bullet points in the JIRA description, and the patch keeps the testsuite at 100%.

Effectively removed are all of the "determineResolved*JndiName()" methods from the Object Model, and I've defined an SPI for these functions (which are implemented by a set of Decorators).

What remains to be done is to add a new Deployer to AS which will be responsible for taking the Metadata Objects and decorating them with the ability to resolve JNDI Names.  I'll take care of that after we have a chance to look at these proposed changes and have some discussion.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161933#4161933

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161933



More information about the jboss-dev-forums mailing list