geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r500343 - /geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java
Date Fri, 26 Jan 2007 21:01:26 GMT
Author: dblevins
Date: Fri Jan 26 13:01:25 2007
New Revision: 500343

URL: http://svn.apache.org/viewvc?view=rev&rev=500343
Log:
set the default deploymentId format to moduleId/ejbName

Modified:
    geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java

Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java?view=diff&rev=500343&r1=500342&r2=500343
==============================================================================
--- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java
Fri Jan 26 13:01:25 2007
@@ -60,6 +60,13 @@
     }
     public OpenEjbSystemGBean(TransactionManager transactionManager, Kernel kernel) throws
Exception {
         System.setProperty("duct tape","");
+        SystemInstance systemInstance = SystemInstance.get();
+
+        String format = systemInstance.getProperty("openejb.deploymentId.format");
+        if (format == null){
+            systemInstance.setProperty("openejb.deploymentId.format", "{moduleId}/{ejbName}");
+        }
+
         System.setProperty("openejb.naming", "xbean");
         if (transactionManager == null) {
             throw new NullPointerException("transactionManager is null");



Mime
View raw message