You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ya...@apache.org on 2018/01/10 08:39:17 UTC
[struts] branch master updated (a66f92c -> 29b29a9)
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 a66f92c Merge pull request #198 from sdutry/formatting-changes
add dd8ba56 Extends factories to allow return implementing type
add 4152cbc Uses factory's type to detect Initilizable interfaces
add 74dd8d6 Adds implementation of the type() method
add a4183b6 Adjusts class to the new Initializable mechanism
add 67b7fc3 Avoids initialising singletons once marked as Initializable
add e1767d9 Moves Initializable interface into implementing class instead of interface
add 49ef41c Drops unneeded JavaDoc formatting
add 87c2746 Introduces dedicated factory to perform object's initialisation
add fad603c Adds a dedicated interfaces to clearly tell CI which beans must be instantiated early
add b046831 Adjusts builder to handle the new interfaces
add d643657 Uses the new interface to initialise object when setting up the framework
add df4a181 add tests for lazy and early initialization
add 38450c9 improve tests for lazy and early initialization
add e4a3669 Moves wrapping factories into Scope
add f60095b Fixes failing tests
add f9f0f36 Increases class visibility
add 4fbded7 Fixes test to run under JDK8
add 23077d3 Loads classes in advance
add 5e237e0 fix and add test for lazy and early initialization of prototypes
new 29b29a9 Merge pull request #196 from lukaszlenart/init-like-a-boss
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:
core/pom.xml | 1 -
.../opensymphony/xwork2/XWorkJUnit4TestCase.java | 4 +
.../com/opensymphony/xwork2/XWorkTestCase.java | 6 +-
.../xwork2/config/impl/DefaultConfiguration.java | 5 +
.../config/impl/LocatableConstantFactory.java | 7 +-
.../xwork2/config/impl/LocatableFactory.java | 5 +
.../providers/XWorkConfigurationProvider.java | 1 +
.../conversion/ConversionPropertiesProcessor.java | 4 +-
.../impl/DefaultConversionPropertiesProcessor.java | 4 +-
.../xwork2/inject/ContainerBuilder.java | 54 ++++++++--
.../opensymphony/xwork2/inject/ContainerImpl.java | 7 +-
.../xwork2/inject/EarlyInitializable.java | 16 +--
.../com/opensymphony/xwork2/inject/Factory.java | 27 +++--
.../xwork2/inject/InitializableFactory.java | 56 ++++++++++
.../xwork2/inject/InternalFactory.java | 25 +++--
.../java/com/opensymphony/xwork2/inject/Scope.java | 33 +++++-
.../xwork2/validator/DefaultValidatorFactory.java | 3 +-
.../xwork2/validator/ValidatorFactory.java | 4 +-
.../config/AbstractBeanSelectionProvider.java | 5 +
.../config/StrutsXmlConfigurationProvider.java | 3 +
.../factory/PrefixBasedActionProxyFactory.java | 31 +++---
.../xwork2/config/ConfigurationManagerTest.java | 7 ++
.../xwork2/inject/ContainerImplTest.java | 120 ++++++++++++++++++---
.../xwork2/inject/EarlyInitializableBean.java | 67 ++++++------
.../xwork2/inject/InitializableBean.java | 67 ++++++------
.../xwork2/ognl/SetPropertiesTest.java | 12 ++-
.../validator/SimpleActionValidationTest.java | 6 ++
.../factory/PrefixBasedActionProxyFactoryTest.java | 19 +++-
28 files changed, 436 insertions(+), 163 deletions(-)
copy apps/showcase/src/main/webapp/WEB-INF/conversion/OperationsEnum.java.txt => core/src/main/java/com/opensymphony/xwork2/inject/EarlyInitializable.java (68%)
create mode 100644 core/src/main/java/com/opensymphony/xwork2/inject/InitializableFactory.java
copy plugins/embeddedjsp/src/test/java/org/apache/struts2/SoyBean.java => core/src/test/java/com/opensymphony/xwork2/inject/EarlyInitializableBean.java (75%)
copy plugins/embeddedjsp/src/test/java/org/apache/struts2/SoyBean.java => core/src/test/java/com/opensymphony/xwork2/inject/InitializableBean.java (76%)
--
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <co...@struts.apache.org>'].
[struts] 01/01: Merge pull request #196 from
lukaszlenart/init-like-a-boss
Posted by ya...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
commit 29b29a9c64aa4700b0f3c52f250ef27a9dc67516
Merge: a66f92c 5e237e0
Author: Yasser Zamani <ya...@live.com>
AuthorDate: Wed Jan 10 12:09:14 2018 +0330
Merge pull request #196 from lukaszlenart/init-like-a-boss
WW-4905: Allows Initializable interface on implementing class instead of interface
core/pom.xml | 1 -
.../opensymphony/xwork2/XWorkJUnit4TestCase.java | 4 +
.../com/opensymphony/xwork2/XWorkTestCase.java | 6 +-
.../xwork2/config/impl/DefaultConfiguration.java | 5 +
.../config/impl/LocatableConstantFactory.java | 7 +-
.../xwork2/config/impl/LocatableFactory.java | 5 +
.../providers/XWorkConfigurationProvider.java | 1 +
.../conversion/ConversionPropertiesProcessor.java | 4 +-
.../impl/DefaultConversionPropertiesProcessor.java | 4 +-
.../xwork2/inject/ContainerBuilder.java | 54 ++++++++--
.../opensymphony/xwork2/inject/ContainerImpl.java | 7 +-
...nternalFactory.java => EarlyInitializable.java} | 23 +---
.../com/opensymphony/xwork2/inject/Factory.java | 27 +++--
.../xwork2/inject/InitializableFactory.java | 56 ++++++++++
.../xwork2/inject/InternalFactory.java | 25 +++--
.../java/com/opensymphony/xwork2/inject/Scope.java | 33 +++++-
.../xwork2/validator/DefaultValidatorFactory.java | 3 +-
.../xwork2/validator/ValidatorFactory.java | 4 +-
.../config/AbstractBeanSelectionProvider.java | 5 +
.../config/StrutsXmlConfigurationProvider.java | 3 +
.../factory/PrefixBasedActionProxyFactory.java | 31 +++---
.../xwork2/config/ConfigurationManagerTest.java | 7 ++
.../xwork2/inject/ContainerImplTest.java | 120 ++++++++++++++++++---
.../xwork2/inject/EarlyInitializableBean.java} | 32 +++---
.../xwork2/inject/InitializableBean.java} | 32 +++---
.../xwork2/ognl/SetPropertiesTest.java | 12 ++-
.../validator/SimpleActionValidationTest.java | 6 ++
.../factory/PrefixBasedActionProxyFactoryTest.java | 19 +++-
28 files changed, 393 insertions(+), 143 deletions(-)
--
To stop receiving notification emails like this one, please contact
"commits@struts.apache.org" <co...@struts.apache.org>.