geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Gbean Question ?
Date Mon, 14 Nov 2005 13:11:20 GMT
    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

Mime
View raw message