Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-9563

ApplicationContextAware interface is not taken into account during spring-bean initialization in the portlet

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.0.2 RC, 6.0.12 EE, 6.1.0 CE RC1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Liferay bundle with tomcat (both 5.2.3 & 6.0.1), jdk6, linux/opensolaris
    • Fix Priority:
      2

      Description

      You can see details in the forum post: http://www.liferay.com/community/forums/-/message_boards/message/4943621
      In my portlet developed under portlet-sdk, I've added customer bean into META-INF/portlet-spring.xml.

      This portlet implemented ApplicationContextAware interface - it is expected it will receive ApplicationContext during it's initialization - but - it is not happend.

      I've attached portlet sources demonstrated problem under Liferay 5.2.3 - but same problem reproduced in 6.0.1

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 23 weeks, 6 days ago

                Packages

                Version Package