Thomas Hepp
61ca68f4a7
indent CdiObjectFactory with 4 spaces everywhere
2023-09-18 11:39:33 +02:00
Thomas Hepp
49a27d1b25
replace BeanManager::createInjectionTarget
...
because it was deprecated in CDI 1.1 and removed in CDI 4.0 (Jakarta EE 10)
2023-09-11 13:15:21 +02:00
Lukasz Lenart
c99526ce1f
WW-5296 Uses proper DTDs
2023-05-16 20:22:03 +02:00
Lukasz Lenart
3774ffa7c3
WW-5234 Improves DTD definitions to use proper URL
2022-09-27 09:21:03 +02:00
Lukasz Lenart
c9c39130f6
WW-5226 Upgrades Weld to version 2.4.8.Final
2022-09-17 09:40:38 +02:00
Lukasz Lenart
1775e0e6cf
WW-5000 Extracts string literals as constants
2021-01-03 10:56:46 +01:00
Stefaan Dutry
f85149791d
rename springconstants to have a uniform naming pattern
...
Also removed constant from cdi-plugin config, as it is suspected to not be used.
issue:
- WW-4796
2018-05-28 13:15:09 +02:00
Lukasz Lenart
8b95838c58
Adds proper XML header
2017-10-22 12:29:13 +02:00
Lukasz Lenart
e7c65fb0b4
Adds missing header with license
2017-10-21 17:47:51 +02:00
Lukasz Lenart
73359c480b
Adds missing header with license
2017-10-21 11:24:48 +02:00
Lukasz Lenart
cb389d292d
Fixes Maven site generation
2017-10-20 09:05:29 +02:00
Lukasz Lenart
2acf0ab16e
Reverts changes introduced with WW-4827 and adds default constructors
2017-09-26 08:47:10 +02:00
Aleksandr Mashchenko
6f91d0776a
Inject Container in constructor of the ObjectFactory
2017-07-27 22:22:33 +03:00
Stefaan Dutry
defaf43a4c
WW-4780 fixed logging in the struts2-cdi-plugin tests
2017-04-21 23:49:43 +02:00
Lukasz Lenart
e60119436a
WW-4632 Uses proper DTD version
2016-06-12 13:10:49 +02:00
Johannes Geppert
5a835cf6ac
Minor code improvements's in the cdi, convention, jasperreports, junit, rest and sitemesh plugin
...
- Use Java 7 features like diamond operator
- Improve some logging message and don't check LOG.isXxx if not necessary
- Fix some typos
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-16 20:37:20 +02:00
Johannes Geppert
95805e54f7
WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
...
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
Lukasz Lenart
a46b803999
WW-4441 Fixes memory leak in CDI factory
2014-12-23 10:29:16 +01:00
Lukasz Lenart
5f2898eadf
Cleans up Maven generated website
2014-12-02 12:41:06 +01:00
Michael Stevens
6291fa920d
Fix Memory leak in CDI plugin
...
The CDI plugin was using a single 'CreationalContext' for all beans created by the CDIObjectFactory. This is incorrect and the size of the 'dependentInstances' (in the WELD implementation) grows indefinately with no beans being removed.
Fix is to use a new 'CreationalContext' for every bean created. In our tests with WELD this does not effect the applications performance. Idealy a single 'CreationalContext' should be created for the request lifecycle. However the struts ObjectFactory API does not appear to provide any information able the lifecycle.
2014-11-12 13:35:15 +01:00
Lukasz Lenart
ecab1b2b89
WW-4215 Allows constructor injection
2014-07-09 21:16:38 +02:00
Christian Grobmeier
5e3e793576
removed unused site folder and site.xml
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart
eb2a9eb8ff
WW-3593 Adds missing html files
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
René Gielen
20689c0cf7
WW-3767:
...
- added support for servlet container JNDI lookup key java:comp/env/BeanManager
- added support for custom configuration constant to override standard lookup
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1294420 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:35:04 +00:00
Johannes Geppert
970251ff95
Update to current 2.3 DTD
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1221225 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:22:28 +00:00
Lukasz Lenart
08462f2c15
Move CDI plugin into trunk
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1172467 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 05:49:16 +00:00