geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r149469 - geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java
Date Wed, 02 Feb 2005 02:18:02 GMT
Author: jules
Date: Tue Feb  1 18:17:59 2005
New Revision: 149469

URL: http://svn.apache.org/viewcvs?view=rev&rev=149469
Log:

Spring module ObjectName to be as David suggested (UID is still ugly - TBD)

M    modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java

Modified:
    geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java

Modified: geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java?view=diff&r1=149468&r2=149469
==============================================================================
--- geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java
(original)
+++ geronimo/trunk/modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/SPRConfigBuilder.java
Tue Feb  1 18:17:59 2005
@@ -152,7 +152,12 @@
 
       // the actual Application...
       {
-	ObjectName name=new ObjectName("geronimo.spring", "name", sprFile.getName());
+	ObjectName name=new ObjectName("geronimo.server"+":"+
+				       "J2EEServer"+"="+ "geronimo"+","+
+				       "J2EEApplication"+"="+"null"+","+
+				       "j2eeType"+"="+"SpringModule"+","+
+				       "name"+"="+ sprFile.getName()
+				       );
 	GBeanData gbeanData=new GBeanData(name, SpringGBean.GBEAN_INFO);
 	gbeanData.setAttribute("classPath", classPath.toArray(new URI[classPath.size()]));
 	gbeanData.setAttribute("configPath", configPath);



Mime
View raw message