This is an automated email from the ASF dual-hosted git repository. yasserzamani pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts.git.
from b7cc4b8 Merge pull request #255 from JCgH4164838Gh792C124B5/localS2Branch add d38efae WW-4963 Implements new SessionAware interface that uses withSession instead of setSession add 3820eae WW-4963 Implements new ServletRequestAware interface that uses withRequest instead of setRequest add e0fb803 WW-4963 Implements new ServletResponseAware interface that uses withResponseServlet instead of setResponseServlet add dc7138e WW-4963 Implements new ApplicationAware interface that uses withApplication instead of setApplication add 384d418 WW-4963 Implements new PrincipalAware interface that uses withPrincipalProxy instead of setPrincipalProxy add 01016b4 WW-4963 Implements new BundleContextAware interface that uses withBundleContext instead of setBundleContext add 23e9c88 WW-4963 Implements new CookiesAware interface that uses withCookies instead of setCookiesMap add 42245be WW-4963 Implements new PortletContextAware interface that uses withPortletContext instead of setPortletContext add f598600 WW-4963 Implements new PortletPreferencesAware interface that uses withPortletPreferences instead of setPortletPreferences add ec4a445 WW-4963 Implements new PortletRequestAware interface that uses withPortletRequest instead of setPortletRequest add 5428252 WW-4963 Implements new PortletResponseAware interface with a test that uses withPortletResponse instead of setPortletReponse add 56fc731 WW-4963 Implements new ParametersAware interface that uses withParameters instead of setHttpParameters and cleans up logic a bit add 8cf787b WW-4963 Implements new ServiceAware interface that uses withServices instead of setServices add b608549 WW-4963 Implements new ServletContextAware interface and fixes actions that uses withServletContext instead of setServletContext new 6f56e14 Merge pull request #252 from lukaszlenart/with-no-setters The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../struts2/showcase/source/ViewSourceAction.java | 4 +- .../struts2/osgi/admin/actions/BundlesAction.java | 4 +- .../src/main/java/actions/osgi/BundlesAction.java | 4 +- .../{interceptor => action}/ApplicationAware.java | 11 +- .../{interceptor => action}/CookiesAware.java | 8 +- .../ParametersAware.java} | 12 +- .../{interceptor => action}/PrincipalAware.java | 13 +- .../{util => action}/ServletContextAware.java | 6 +- .../ServletRequestAware.java | 12 +- .../ServletResponseAware.java | 14 +- .../{interceptor => action}/SessionAware.java | 15 +- .../struts2/interceptor/ApplicationAware.java | 4 + .../struts2/interceptor/CookieInterceptor.java | 8 +- .../apache/struts2/interceptor/CookiesAware.java | 4 + .../struts2/interceptor/HttpParametersAware.java | 6 + .../apache/struts2/interceptor/ParameterAware.java | 2 +- .../apache/struts2/interceptor/PrincipalAware.java | 7 + .../apache/struts2/interceptor/RequestAware.java | 6 + .../interceptor/ServletConfigInterceptor.java | 40 ++++- .../struts2/interceptor/ServletRequestAware.java | 4 + .../struts2/interceptor/ServletResponseAware.java | 4 + .../apache/struts2/interceptor/SessionAware.java | 4 + .../apache/struts2/util/ServletContextAware.java | 7 + .../struts2/interceptor/CookieInterceptorTest.java | 68 ++++++++ .../interceptor/ServletConfigInterceptorTest.java | 191 +++++++++++++++++++-- .../BundleContextAware.java | 62 +++---- .../osgi/{interceptor => action}/ServiceAware.java | 66 +++---- .../osgi/interceptor/BundleContextAware.java | 7 + .../struts2/osgi/interceptor/OsgiInterceptor.java | 107 ++++++++---- .../struts2/osgi/interceptor/ServiceAware.java | 6 + .../SomeAction.java => action/ServiceAction.java} | 68 ++++---- .../osgi/interceptor/OsgiInterceptorTest.java | 71 ++++++++ .../PortletContextAware.java | 57 +++--- .../PortletPreferencesAware.java | 76 ++++---- .../PortletRequestAware.java | 57 +++--- .../PortletResponseAware.java | 57 +++--- .../interceptor/PortletAwareInterceptor.java | 54 +++++- .../portlet/interceptor/PortletContextAware.java | 9 +- .../interceptor/PortletPreferencesAware.java | 7 +- .../portlet/interceptor/PortletRequestAware.java | 10 +- .../portlet/interceptor/PortletResponseAware.java | 8 + .../interceptor/PortletAwareInterceptorTest.java | 97 +++++++---- 42 files changed, 914 insertions(+), 363 deletions(-) copy core/src/main/java/org/apache/struts2/{interceptor => action}/ApplicationAware.java (85%) copy core/src/main/java/org/apache/struts2/{interceptor => action}/CookiesAware.java (87%) copy core/src/main/java/org/apache/struts2/{interceptor/HttpParametersAware.java => action/ParametersAware.java} (89%) copy core/src/main/java/org/apache/struts2/{interceptor => action}/PrincipalAware.java (80%) copy core/src/main/java/org/apache/struts2/{util => action}/ServletContextAware.java (90%) copy core/src/main/java/org/apache/struts2/{interceptor => action}/ServletRequestAware.java (86%) copy core/src/main/java/org/apache/struts2/{interceptor => action}/ServletResponseAware.java (86%) copy core/src/main/java/org/apache/struts2/{interceptor => action}/SessionAware.java (85%) copy plugins/osgi/src/main/java/org/apache/struts2/osgi/{interceptor => action}/BundleContextAware.java (88%) copy plugins/osgi/src/main/java/org/apache/struts2/osgi/{interceptor => action}/ServiceAware.java (89%) copy plugins/osgi/src/test/java/org/apache/struts2/osgi/{interceptor/SomeAction.java => action/ServiceAction.java} (83%) copy plugins/portlet/src/main/java/org/apache/struts2/portlet/{interceptor => action}/PortletContextAware.java (87%) copy plugins/portlet/src/main/java/org/apache/struts2/portlet/{interceptor => action}/PortletPreferencesAware.java (85%) copy plugins/portlet/src/main/java/org/apache/struts2/portlet/{interceptor => action}/PortletRequestAware.java (87%) copy plugins/portlet/src/main/java/org/apache/struts2/portlet/{interceptor => action}/PortletResponseAware.java (87%)