[jboss-dev-forums] [Design of JCA on JBoss] - Re: DeploymentInfo/Template MCF

alex.loubyansky@jboss.com do-not-reply at jboss.com
Mon Dec 10 11:40:33 EST 2007


I'd like to clarify how the template is composed for the MCF deployment and what it is supposed to cover.

Is there supposed to be a separate template class for each kind of MCF? i.e. one for DataSource, another for XADataSource, etc?

I thought, there should be one for all. But ran into issues.

Currently, the DsDataSourceTemplateInfo creates a single ManagedObject with name ManagedConnectionFactoryDeploymentGroup and adds various attributes that belong to ManagedConnectionFactoryDeploymentMetaData subclasses to it.
I thought that's wrong. So, in DDSTI I created MO for each subclass of the MCFDMD and the group. But that doesn't work with the current impl of ManagementViewImpl.applyTemplate(). Since, the template contains info for all kinds of MCF deployments while the template created by the client (template instance?) contains e.g. only one kind of MCF. So, applyTemplate will not be able to apply client's template since it's missing all the other MCF deployments.

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

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



More information about the jboss-dev-forums mailing list