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/kernel/src/java/org/apache/geronimo/gbean GBeanInfoFactory.java
Date Sun, 11 Jul 2004 20:56:41 GMT
djencks     2004/07/11 13:56:41

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean
                        GBeanInfoFactory.java
  Log:
  provide a couple more constructors that work in another classloader
  
  Revision  Changes    Path
  1.21      +11 -3     incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoFactory.java
  
  Index: GBeanInfoFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfoFactory.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- GBeanInfoFactory.java	2 Jun 2004 05:33:03 -0000	1.20
  +++ GBeanInfoFactory.java	11 Jul 2004 20:56:41 -0000	1.21
  @@ -66,6 +66,14 @@
           this(checkNotNull(clazz).getName(), clazz.getName(), source);
       }
   
  +    public GBeanInfoFactory(String name, GBeanInfo source) {
  +        this(checkNotNull(name), name, source);
  +    }
  +
  +    public GBeanInfoFactory(String name, ClassLoader cl) {
  +        this(checkNotNull(name), name, GBeanInfo.getGBeanInfo(name, cl));
  +    }
  +
       public GBeanInfoFactory(String name, Class clazz, GBeanInfo source) {
           this(name, checkNotNull(clazz).getName(), source);
       }
  @@ -101,7 +109,7 @@
       /**
        * Checks whether or not the input argument is null; otherwise it throws
        * {@link IllegalArgumentException}.
  -     * 
  +     *
        * @param clazz the input argument to validate
        * @throws IllegalArgumentException if input is null
        */
  @@ -115,7 +123,7 @@
       /**
        * Checks whether or not the input argument is null; otherwise it throws
        * {@link IllegalArgumentException}.
  -     * 
  +     *
        * @param string the input argument to validate
        * @throws IllegalArgumentException if input is null
        */
  
  
  

Mime
View raw message