maven apache ha scritto:
> 
> 
> 2009/12/15 Just van den Broecke <j...@justobjects.nl 
> <mailto:j...@justobjects.nl>>
> 
>     You will find applicationContext.xml files within various GeoServer .jar
>     files under WEB-INF/lib, for example wfs-2.0.0.jar web-*.jar and more.
> 
> I am afraid you did not understand me.
> I know where the location of the xml files,and I see many beans are 
> configed in the xml file.
> For example there is a bean named Geoserver(just a example), but I can 
> not find where this bean is got.
> For my unsderstanding of spring ,there should be some codes like" 
> beanFactory.getBean("Geoserver") or something else.

It is injected in other beans directly in the spring context file.
Only a handful of beans are actually looked up using getBean, and
usually when that happens we look for implementors of extension points
instead of a specific bean, such a service implementations, output
formats and the like.

If you want to see how all this work I suggest you put a breakpoint
in the dispatcher and follow what is going on step by step.

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to