geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean GReferenceInfo.java
Date Fri, 06 Feb 2004 22:16:00 GMT
jboynes     2004/02/06 14:16:00

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean
                        GReferenceInfo.java
  Log:
  Allow construction using Class instead of type name
  
  Revision  Changes    Path
  1.2       +5 -1      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GReferenceInfo.java
  
  Index: GReferenceInfo.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GReferenceInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GReferenceInfo.java	25 Jan 2004 21:07:04 -0000	1.1
  +++ GReferenceInfo.java	6 Feb 2004 22:16:00 -0000	1.2
  @@ -88,6 +88,10 @@
           this(name, type, null);
       }
   
  +    public GReferenceInfo(String name, Class type) {
  +        this(name, type.getName(), null);
  +    }
  +
       public GReferenceInfo(String name, String type, String setterName) {
           this.name = name;
           this.type = type;
  
  
  

Mime
View raw message