Hi All,
   I have tried placing the lazy-init="true" in bean 
and default-lazy-init="true" beans level but does not stop spanning for the 
controller mapping.
   Not sure i am doing something wrong looks like a easy but could not make 
it work.

spring.xml file.
--------------------
  <beans xmlns="http://www.springframework.org/schema/beans";

 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

 xsi:schemaLocation="http://www.springframework.org/schema/beans

 http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"; 
default-lazy-init="true">


<bean  class=
"org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"  >

    <property name="mappings">

      <props>

         <prop key="/hello/*">aController</prop>

         <prop key="/drive/*">driveController</prop>

        <prop key="/sheet/*">spreedsheet</prop>

        <prop key="/myjsonp/*">myjsonp</prop>

        

 </props>

</property>

  </bean> 

 

  <bean id="aController" class=
"com.test.bootstrap.controller.TimeConverterController" lazy-init="true" />

  <bean id="driveController" class=
"com.test.bootstrap.controller.GoogleDriveIntegration" />

  <bean id="spreedsheet" class=
"com.test.bootstrap.controller.GoogleSpreedSheetController" />

  <bean id="myjsonp" class="com.test.bootstrap.controller.JsonPController" 
/>

  

  <bean id="employeeBean" class="com.test.bootstrap.main.Employee" lazy-init
="true" />

<bean id="addressBean" class="com.test.bootstrap.main.Address" lazy-init=
"true" />

  

  

<bean id="viewResolver" class=
"org.springframework.web.servlet.view.ResourceBundleViewResolver">

<property name="basename" value="views"/>   

</bean>

    </beans>


Thanks,

Pravanajan






-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to