struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4875) Java configuration
Date Fri, 16 Mar 2018 14:01:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401941#comment-16401941
] 

Hudson commented on WW-4875:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-master-JDK7 #111 (See [https://builds.apache.org/job/Struts-master-JDK7/111/])
WW-4875 Add ability to use Java based configuration (amashchenko: rev 0a86e4fe1621bc0fdd01346aed94eab1f0ab920d)
* (add) core/src/main/java/org/apache/struts2/config/StrutsJavaConfiguration.java
* (add) core/src/main/java/org/apache/struts2/config/StrutsJavaConfigurationProvider.java
* (add) core/src/main/java/org/apache/struts2/config/entities/BeanConfig.java
* (edit) core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
* (add) core/src/main/java/org/apache/struts2/config/entities/ConstantConfig.java
WW-4875 Add location information for java based configuration (amashchenko: rev 55ae024c0af6feef0efd6e90ba76bea54a3037e0)
* (edit) core/src/main/java/org/apache/struts2/config/StrutsJavaConfigurationProvider.java
* (edit) core/src/test/java/com/opensymphony/xwork2/util/location/LocationUtilsTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/util/location/LocationUtils.java
WW-4875 Add convention constant configuration (aleksandr.7m: rev 302b53d43c1665a745836ab355e1703a424e7f8d)
* (add) plugins/convention/src/main/java/org/apache/struts2/convention/config/entities/ConventionConstantConfig.java
WW-4875 Add json constant configuration (aleksandr.7m: rev 7a9b5029a59412e1b9faf1a1699451f880e29af0)
* (add) plugins/json/src/main/java/org/apache/struts2/json/config/entities/JSONConstantConfig.java
* (edit) plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java
* (edit) plugins/json/src/main/java/org/apache/struts2/json/JSONConstants.java
WW-4875 Add rest constant configuration (aleksandr.7m: rev a049d1709b65ea01a2ddcee659fd74c5e5cb24bf)
* (edit) plugins/rest/src/main/java/org/apache/struts2/rest/RestActionInvocation.java
* (add) plugins/rest/src/main/java/org/apache/struts2/rest/RestConstants.java
* (edit) plugins/rest/src/main/java/org/apache/struts2/rest/RestWorkflowInterceptor.java
* (edit) plugins/rest/src/main/java/org/apache/struts2/rest/DefaultContentTypeHandlerManager.java
* (edit) plugins/rest/src/main/java/org/apache/struts2/rest/RestActionProxyFactory.java
* (add) plugins/rest/src/main/java/org/apache/struts2/rest/config/entities/RestConstantConfig.java
* (edit) plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java
WW-4875 Add spring constant configuration (aleksandr.7m: rev b2ff4bb56b21af384e5602ac68d80125b8da74ca)
* (add) plugins/spring/src/main/java/org/apache/struts2/spring/SpringConstants.java
* (edit) plugins/spring/src/main/java/org/apache/struts2/spring/StrutsSpringObjectFactory.java
* (add) plugins/spring/src/main/java/org/apache/struts2/spring/config/entities/SpringConstantConfig.java


> Java configuration
> ------------------
>
>                 Key: WW-4875
>                 URL: https://issues.apache.org/jira/browse/WW-4875
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.5.13
>            Reporter: Aleksandr Mashchenko
>            Assignee: Aleksandr Mashchenko
>            Priority: Major
>             Fix For: 2.6
>
>
> Some people are allergic to XML and even with convention plugin currently there is no
way to define properties w/o struts.xml or properties file.
> It would be great to add the ability to configure app via java configuration.
> We can start with adding support for constant, bean and unknown-handler-stack and see
how it goes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message