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

weston.price@jboss.com do-not-reply at jboss.com
Wed Feb 7 17:04:23 EST 2007


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. The ManagedConnectionFactory deployer is being invoked before the RAR deployer, as a result, the ConnectorMetaData hasn't been added to the repository yet. The 'hack' in place right now is to establish the dependency via the ServiceDependencyMetaData. This is basically just emulating the OldRARDeployment mess from the XSL deployer which is what I am trying to move away from. This of course *works* but it suffers from the same failings as the old implementation. 

Of course, it does actually solve the programmatic part, just the dependencies need to be reconsidered in the context of the MC. I will take a look at the visitor callback. 



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

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



More information about the jboss-dev-forums mailing list