org.apache.tapestry5.spring.modules

## Class SpringModule

- java.lang.Object
- - org.apache.tapestry5.spring.modules.SpringModule

-     public class SpringModule
      extends Object

  Module for Tapestry/Spring Integration. This module exists to force the load of the Spring ApplicationContext as part of Tapestry application initialization.
  Since:
    5.1.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpringModule(org.slf4j.Logger logger)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `addSymbolSourceAsPropertyCustomizerForSpringBeans(OrderedConfiguration<ApplicationContextCustomizer> configuration, SymbolSource symbolSource)`
    `static ApplicationContextCustomizer` | `buildApplicationContextCustomizer(List<ApplicationContextCustomizer> configuration, ChainBuilder builder)` Defines a chain-of-command for handling application context customization.
    `static void` | `defaultExternalSpringContextOff(MappedConfiguration<String,Object> configuration)`
    `void` | `reportSpringContextDetailsAtStartup(OrderedConfiguration<ApplicationInitializerFilter> configuration, org.springframework.context.ApplicationContext springContext)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SpringModule

          public SpringModule(org.slf4j.Logger logger)

  - ### Method Detail

    - #### reportSpringContextDetailsAtStartup

          @Contribute(value=ApplicationInitializer.class)
          public void reportSpringContextDetailsAtStartup(OrderedConfiguration<ApplicationInitializerFilter> configuration,
                                                                                                          org.springframework.context.ApplicationContext springContext)

    - #### defaultExternalSpringContextOff

          @Contribute(value=SymbolProvider.class)
           @FactoryDefaults
          public static void defaultExternalSpringContextOff(MappedConfiguration<String,Object> configuration)

    - #### buildApplicationContextCustomizer

          @Marker(value=Primary.class)
          public static ApplicationContextCustomizer buildApplicationContextCustomizer(List<ApplicationContextCustomizer> configuration,
                                                                                                                    ChainBuilder builder)

      Defines a chain-of-command for handling application context customization. This allows the Spring context to be configured before it is initially refreshed.

    - #### addSymbolSourceAsPropertyCustomizerForSpringBeans

          @Contribute(value=ApplicationContextCustomizer.class)
          public static void addSymbolSourceAsPropertyCustomizerForSpringBeans(OrderedConfiguration<ApplicationContextCustomizer> configuration,
                                                                                                                                     SymbolSource symbolSource)

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.