geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service ServiceDeployer.java
Date Sat, 17 Jan 2004 17:00:32 GMT
djencks     2004/01/17 09:00:32

  Modified:    modules/deployment/src/java/org/apache/geronimo/deployment/service
                        ServiceDeployer.java
  Log:
  Use our property editor support, we have it
  
  Revision  Changes    Path
  1.5       +3 -2      incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service/ServiceDeployer.java
  
  Index: ServiceDeployer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/java/org/apache/geronimo/deployment/service/ServiceDeployer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ServiceDeployer.java	17 Jan 2004 03:44:38 -0000	1.4
  +++ ServiceDeployer.java	17 Jan 2004 17:00:31 -0000	1.5
  @@ -78,6 +78,7 @@
   import org.apache.geronimo.kernel.deployment.scanner.URLInfo;
   import org.apache.geronimo.kernel.deployment.service.XMLUtil;
   import org.apache.geronimo.common.Classes;
  +import org.apache.geronimo.common.propertyeditor.PropertyEditors;
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
   import org.w3c.dom.Node;
  @@ -142,7 +143,7 @@
               String type = defaultElement.getAttribute("type");
               Object value = XMLUtil.getContent(defaultElement);
               try {
  -                PropertyEditor editor = PropertyEditorManager.findEditor(Classes.loadClass(type));
  +                PropertyEditor editor = PropertyEditors.findEditor(type);
                   if (editor != null) {
                       editor.setAsText((String) value);
                       value = editor.getValue();
  
  
  

Mime
View raw message