tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DI Florian Hackenberger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-1522) Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)
Date Wed, 11 May 2011 10:42:47 GMT

     [ https://issues.apache.org/jira/browse/TAP5-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

DI Florian Hackenberger updated TAP5-1522:
------------------------------------------

    Attachment: java-config-support.patch

This patch changes tapestry to require a context class which implements the ITapestryApplicationContext
instead and add an AnnotationConfigTapestryApplicationContext class which provides support
for JavaConfig based spring configuration.

> Tapestry-spring does not support using Spring JavaConfig (AnnotationConfigWebApplicationContext)
> ------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1522
>                 URL: https://issues.apache.org/jira/browse/TAP5-1522
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-spring
>    Affects Versions: 5.2.5
>            Reporter: DI Florian Hackenberger
>         Attachments: java-config-support.patch
>
>
> Tapestry-spring currently requires that the context class extends TapestryApplicationContext.
In order to use JavaConfig support (without going through an intermediate spring xml file),
you would have to use AnnotationConfigWebApplicationContext as a base class and add the tapestry
features on top (like TapestryApplicationContext does). Unfortunately that's impossible, as
TapestryApplicationContext is not an interface.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message