10 Replies Latest reply on Jul 8, 2008 1:10 AM by Andrew Rubinger

    [jboss-metadata] Decoupling JNDI Logic from Object Model

    Andrew Rubinger Master

      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