geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r280084 - in /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo: gbean/GBeanInfoBuilder.java kernel/config/Configuration.java
Date Sun, 11 Sep 2005 06:35:56 GMT
Author: djencks
Date: Sat Sep 10 23:35:53 2005
New Revision: 280084

URL: http://svn.apache.org/viewcvs?rev=280084&view=rev
Log:
GERONIMO-1003 This actually makes the attributes manageable by default, and sets those on
Configuration to be non-manageable

Modified:
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java?rev=280084&r1=280083&r2=280084&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoBuilder.java
Sat Sep 10 23:35:53 2005
@@ -210,11 +210,11 @@
     }
 
     public void addAttribute(String name, Class type, boolean persistent) {
-        addAttribute(name, type.getName(), persistent, false);
+        addAttribute(name, type.getName(), persistent, true);
     }
 
     public void addAttribute(String name, String type, boolean persistent) {
-        addAttribute(name, type, persistent, false);
+        addAttribute(name, type, persistent, true);
     }
 
     public void addAttribute(String name, Class type, boolean persistent, boolean manageable)
{

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java?rev=280084&r1=280083&r2=280084&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
Sat Sep 10 23:35:53 2005
@@ -617,15 +617,15 @@
         GBeanInfoBuilder infoFactory = new GBeanInfoBuilder(Configuration.class);//does not
use jsr-77 naming
         infoFactory.addAttribute("kernel", Kernel.class, false);
         infoFactory.addAttribute("objectName", String.class, false);
-        infoFactory.addAttribute("id", URI.class, true);
-        infoFactory.addAttribute("type", ConfigurationModuleType.class, true);
-        infoFactory.addAttribute("parentId", URI[].class, true);
-        infoFactory.addAttribute("domain", String.class, true);
-        infoFactory.addAttribute("server", String.class, true);
-        infoFactory.addAttribute("classPath", List.class, true);
-        infoFactory.addAttribute("dependencies", List.class, true);
-        infoFactory.addAttribute("gBeanState", byte[].class, true);
-        infoFactory.addAttribute("baseURL", URL.class, true);
+        infoFactory.addAttribute("id", URI.class, true, false);
+        infoFactory.addAttribute("type", ConfigurationModuleType.class, true, false);
+        infoFactory.addAttribute("parentId", URI[].class, true, false);
+        infoFactory.addAttribute("domain", String.class, true, false);
+        infoFactory.addAttribute("server", String.class, true, false);
+        infoFactory.addAttribute("classPath", List.class, true, false);
+        infoFactory.addAttribute("dependencies", List.class, true, false);
+        infoFactory.addAttribute("gBeanState", byte[].class, true, false);
+        infoFactory.addAttribute("baseURL", URL.class, true, false);
         infoFactory.addAttribute("configurationClassLoader", ClassLoader.class, false);
 
         infoFactory.addReference("Repositories", Repository.class, "GBean");



Mime
View raw message