jboynes 2004/02/21 14:17:52
Modified: modules/kernel/src/java/org/apache/geronimo/gbean
GBeanInfoFactory.java
Log:
Allow Class form for subclasses
Revision Changes Path
1.11 +5 -1
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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- GBeanInfoFactory.java 20 Feb 2004 17:04:27 -0000 1.10
+++ GBeanInfoFactory.java 21 Feb 2004 22:17:52 -0000 1.11
@@ -96,6 +96,10 @@
this(className, className, source);
}
+ public GBeanInfoFactory(Class clazz, GBeanInfo source) {
+ this(clazz.getName(), clazz.getName(), source);
+ }
+
public GBeanInfoFactory(String name, String className, GBeanInfo source)
{
assert name != null && className != null && source != null;
this.name = name;