[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-1437 RARMetaDataRepository

weston.price@jboss.com do-not-reply at jboss.com
Mon Feb 26 13:21:30 EST 2007


This simply involves the parsing/binding of the *-ds.xml file. I was just throwing out an idea to break up the actual parsing into aspects. Example:

ConnectionPoolParsing aspect knows about the specific elements that make up the ConnectionPoolMetaData. 

ServiceDependency aspect knows about the specific elements that constitute ServiceMean dependencies in the *-ds.xml file. 

These aspects would form a parsing chain that gets applied on parse. Nothign more than that.

Again, this would be an alternate approach (refactoring) as I have already written the JAXP based parser of the *-ds.xml file to construct the MetaData which works, but is not as elegant/clean as I would have liked.  

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

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



More information about the jboss-dev-forums mailing list