You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by anita kulshreshtha <a_...@yahoo.com> on 2005/11/14 14:11:20 UTC
Gbean Question ?
GBeanInfoBuilder.searchForGetter(...) finds
superclass's similarly named getter method, if a
getter is not defined locally. Is this the desired
behavior? see loadOnStartup in the following trace :
Caused by:
org.apache.geronimo.gbean.InvalidConfigurationException:
Incorrect return type for getter method:
name=loadOnStartup,
targetClass=org.apache.geronimo.tomcat.TomcatServletHolder,
getter type=int, expected type=java.lang.Integer
at
org.apache.geronimo.gbean.GBeanInfoBuilder.searchForGetter(GBeanInfoBuilder.java:376)
at
org.apache.geronimo.gbean.GBeanInfoBuilder.addAttribute(GBeanInfoBuilder.java:225)
at
org.apache.geronimo.gbean.GBeanInfoBuilder.addAttribute(GBeanInfoBuilder.java:213)
at
org.apache.geronimo.tomcat.TomcatServletHolder.<clinit>(TomcatServletHolder.java:219)
... 17
TIA
Anita
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com