[jboss-cvs] JBossAS SVN: r104874 - trunk/server/src/main/java/org/jboss/ejb/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon May 17 10:07:22 EDT 2010
Author: alesj
Date: 2010-05-17 10:07:21 -0400 (Mon, 17 May 2010)
New Revision: 104874
Modified:
trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java
Log:
Use canonical object name.
Modified: trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java
===================================================================
--- trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java 2010-05-17 12:24:04 UTC (rev 104873)
+++ trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java 2010-05-17 14:07:21 UTC (rev 104874)
@@ -437,7 +437,7 @@
{
ObjectName n = new ObjectName(depend);
ServiceDependencyMetaData sdmd = new ServiceDependencyMetaData();
- sdmd.setIDependOn(n.toString());
+ sdmd.setIDependOn(n.getCanonicalName());
dependencies.add(sdmd);
}
}
@@ -452,7 +452,7 @@
AbstractKernelDeployment akd = new AbstractKernelDeployment();
akd.setName(ejbModule.getObjectName().getCanonicalName()+"Beans");
akd.setBeans(mcBeanMD);
- unit.addAttachment(KernelDeployment.class, akd);
+ unit.addAttachment(KernelDeployment.class, akd); // TODO -- where is this used? As this might override any parsed KD instance
// Pass the ejb callByValue setting
if (callByValue)
More information about the jboss-cvs-commits
mailing list