geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/plan CreateMBeanInstance.java InitializeMBeanInstance.java
Date Thu, 28 Aug 2003 11:18:02 GMT
jdillon     2003/08/28 04:18:02

  Modified:    modules/core/src/java/org/apache/geronimo/deployment/plan
                        CreateMBeanInstance.java
                        InitializeMBeanInstance.java
  Log:
   o Use PropertyEditors instead of PropertyEditorManager
  
  Revision  Changes    Path
  1.12      +3 -3      incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/plan/CreateMBeanInstance.java
  
  Index: CreateMBeanInstance.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/plan/CreateMBeanInstance.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CreateMBeanInstance.java	28 Aug 2003 09:09:24 -0000	1.11
  +++ CreateMBeanInstance.java	28 Aug 2003 11:18:01 -0000	1.12
  @@ -56,7 +56,6 @@
   package org.apache.geronimo.deployment.plan;
   
   import java.beans.PropertyEditor;
  -import java.beans.PropertyEditorManager;
   import java.io.File;
   import java.lang.reflect.Constructor;
   import java.net.MalformedURLException;
  @@ -81,6 +80,7 @@
   
   import org.apache.geronimo.common.StringValueParser;
   import org.apache.geronimo.common.Classes;
  +import org.apache.geronimo.common.propertyeditor.PropertyEditors;
   
   import org.apache.geronimo.deployment.DeploymentException;
   import org.apache.geronimo.deployment.dependency.DependencyServiceMBean;
  @@ -284,7 +284,7 @@
           }
   
           // try a property editor
  -        PropertyEditor editor = PropertyEditorManager.findEditor(attrType);
  +        PropertyEditor editor = PropertyEditors.findEditor(attrType);
           if (editor != null) {
               editor.setAsText(value);
               return editor.getValue();
  
  
  
  1.5       +3 -3      incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/plan/InitializeMBeanInstance.java
  
  Index: InitializeMBeanInstance.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/plan/InitializeMBeanInstance.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InitializeMBeanInstance.java	28 Aug 2003 09:09:24 -0000	1.4
  +++ InitializeMBeanInstance.java	28 Aug 2003 11:18:01 -0000	1.5
  @@ -56,7 +56,6 @@
   package org.apache.geronimo.deployment.plan;
   
   import java.beans.PropertyEditor;
  -import java.beans.PropertyEditorManager;
   import java.lang.reflect.Constructor;
   import java.util.Iterator;
   import java.util.Map;
  @@ -74,6 +73,7 @@
   
   import org.apache.geronimo.common.StringValueParser;
   import org.apache.geronimo.common.Classes;
  +import org.apache.geronimo.common.propertyeditor.PropertyEditors;
   
   import org.apache.geronimo.deployment.DeploymentException;
   import org.apache.geronimo.deployment.service.MBeanMetadata;
  @@ -178,7 +178,7 @@
           }
   
           // try a property editor
  -        PropertyEditor editor = PropertyEditorManager.findEditor(attrType);
  +        PropertyEditor editor = PropertyEditors.findEditor(attrType);
           if (editor != null) {
               editor.setAsText(value);
               return editor.getValue();
  
  
  

Mime
View raw message