[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-1437 RARMetaDataRepository
adrian@jboss.org
do-not-reply at jboss.com
Fri Feb 9 11:14:32 EST 2007
The whole 'guess the RAR' thing to me seems to be unnecessarily complicated and I am not quite sure of the point being that a JCA deployment MCF, ActivationSpec, AdminObject should always know to what RAR it belongs.
The basic feature is you just tell it the name. i.e. the ObjectName or name
in the microcontainer as a dependency.
e.g. rar-name in the -ds.xml or resource-adapter-name in jboss.xml
This doesn't require anything new and should just work like the old stuff.
But if you want to "guess" the rar to use from properties
e.g. Who implements the message listener for inbound (don't specify the rar name)
then you are going to need what I described above.
Stage (1) parsing - populate the rar repository
Stage (2) "real deployer" - resolve the dependency name from the properties
(once you know all the rar parsing has been done)
Stage (3) runtime - only start when the dependency exists (the rar is deployed)
The other stuff I described just turns stages 2 and 3 into one stage
with a custom dependency implementation.
To emulate the old stuff, stage 2 is a no-op. You've been told the dependency name
in the xml (or it is hardwired in the xslt :-).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013723#4013723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013723
More information about the jboss-dev-forums
mailing list