[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-1437 RARMetaDataRepository
adrian@jboss.org
do-not-reply at jboss.com
Thu Feb 8 05:42:41 EST 2007
"weston.price at jboss.com" wrote : anonymous wrote :
| | If you are doing this in two phases (parse/runtime) it should be automatic?
| |
| | The parsing stage populates the repository, the runtime stage (the actual
| | construction/configuration of the MBeans/Pojos) should have all the parsed rar information
| | in the repository by then?
| |
|
| No, that's the issue.
|
You missed the point.
The logic should be something like:
1a) Parse the MCF xml
1b) Parse the rar xml
2a) Deploy the mcf (create mbean/pojo metadata)
2b) Deploy the rar (create mbean/pojo metadata)
3a) Create the mcf object (callback from the MC when dependencies are satisified)
3b) Create the rar object (-""-)
(1) is the parsing stage of deployment
(2) is the post parsing or "real deployer" stage of deployment
Within each category it doesn't matter in which order things get done
because stage (1) fills the repository and stage (2) references it.
All you need is for stage (2) to look at the data from (1)
so you can decide what name to put in the dependency.
It is only in stage (3) - construction of the MBean/POJOs that you are
actually going to have wired objects.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012957#4012957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012957
More information about the jboss-dev-forums
mailing list