I had a problem with registering managed objects for MCF under their name (i.e.)
jndi-name. The template info defines management interface, i.e. it creates managed objects
and properties. Which are re-used to create different MCF's. The JNDI name is a value
of a managed property. So, it can't be used in the template info as MO's name.
Currently, ManagedConnectionFactoryParserDeployer in build(...) method has the following
hack
if(deployment.getDeployments() != null)
| {
| for(ManagedConnectionFactoryDeploymentMetaData mcf :
deployment.getDeployments())
| {
| ManagedObject mo = moFactory.initManagedObject(mcf, null, null);
| if (mo != null)
| {
| // mcf.getClass().getName(), mo.getName() returns JndiName
| // which won't work in the DsDataSourceTemplateInfo
| managedObjects.put(mcf.getClass().getName(), mo);
| }
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114518#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...