com.javaforge.tapestry.spring
Class SpringApplicationInitializer

java.lang.Object
  extended by com.javaforge.tapestry.spring.SpringApplicationInitializer
All Implemented Interfaces:
org.apache.tapestry.services.ApplicationInitializer

public final class SpringApplicationInitializer
extends Object
implements org.apache.tapestry.services.ApplicationInitializer

Initializes the DefaultSpringBeanFactoryHolder service with a proper bean factory, obtained from the com.javaforge.tapestry.spring.ApplicationContextSource.

Author:
Howard M. Lewis Ship

Constructor Summary
SpringApplicationInitializer()
           
 
Method Summary
 void initialize(HttpServlet servlet)
          Obtains the BeanFactory from the source and informs the BeanFactory holder about it.
 void setBeanFactoryHolder(org.apache.hivemind.lib.SpringBeanFactoryHolder beanFactoryHolder)
          For injection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringApplicationInitializer

public SpringApplicationInitializer()
Method Detail

initialize

public void initialize(HttpServlet servlet)
Obtains the BeanFactory from the source and informs the BeanFactory holder about it.

Specified by:
initialize in interface org.apache.tapestry.services.ApplicationInitializer

setBeanFactoryHolder

public final void setBeanFactoryHolder(org.apache.hivemind.lib.SpringBeanFactoryHolder beanFactoryHolder)
For injection.



Copyright © 2006-2007 Howard M. Lewis Ship. All Rights Reserved.