org.apache.tapestry5.spring
Class TapestrySpringFilter

java.lang.Object
  extended by org.apache.tapestry5.TapestryFilter
      extended by org.apache.tapestry5.spring.TapestrySpringFilter
All Implemented Interfaces:
javax.servlet.Filter

public class TapestrySpringFilter
extends TapestryFilter

Adds a ModuleDef that contains all the beans defined by the Spring ApplicationContext, as if they were Tapestry IoC services. This is done using a filter, so that the Spring beans can be "mixed into" the Tapestry IoC Registry before it even starts up.


Field Summary
 
Fields inherited from class org.apache.tapestry5.TapestryFilter
REGISTRY_CONTEXT_NAME
 
Constructor Summary
TapestrySpringFilter()
           
 
Method Summary
protected  ModuleDef[] provideExtraModuleDefs(javax.servlet.ServletContext context)
           
 
Methods inherited from class org.apache.tapestry5.TapestryFilter
destroy, destroy, doFilter, getFilterConfig, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TapestrySpringFilter

public TapestrySpringFilter()
Method Detail

provideExtraModuleDefs

protected ModuleDef[] provideExtraModuleDefs(javax.servlet.ServletContext context)
Overrides:
provideExtraModuleDefs in class TapestryFilter


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.