sling-org-apache-sling-models-impl.git
3 years ago[maven-release-plugin] copy for tag org.apache.sling.models.impl-1.2.4 org.apache.sling.models.impl-1.2.4
Stefan Seifert [Thu, 10 Dec 2015 21:19:35 +0000 (21:19 +0000)] 
[maven-release-plugin] copy for tag org.apache.sling.models.impl-1.2.4

git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.models.impl-1.2.4@1719214 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.4
Stefan Seifert [Thu, 10 Dec 2015 21:19:21 +0000 (21:19 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.4

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1719213 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5032 make access to injectors concurrent map atomic to ensure thread safety...
Stefan Seifert [Fri, 4 Dec 2015 20:53:36 +0000 (20:53 +0000)] 
SLING-5032 make access to injectors concurrent map atomic to ensure thread safety of bind/unbind methods
remove code redundancy in injectElement method when iterating over the injectors to process

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1718031 13f79535-47bb-0310-9956-ffa450edef68

3 years agocosmetic: eliminate some warnings
Stefan Seifert [Fri, 4 Dec 2015 20:35:52 +0000 (20:35 +0000)] 
cosmetic: eliminate some warnings

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1718026 13f79535-47bb-0310-9956-ffa450edef68

3 years agoswitch back api dependency to latest released version
Stefan Seifert [Fri, 4 Dec 2015 20:34:38 +0000 (20:34 +0000)] 
switch back api dependency to latest released version

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1718025 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5187 - Missing metatype name for ModelAdapterFactory
Robert Munteanu [Thu, 22 Oct 2015 13:02:12 +0000 (13:02 +0000)] 
SLING-5187 - Missing metatype name for ModelAdapterFactory

Add metatype label for the class.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1710008 13f79535-47bb-0310-9956-ffa450edef68

3 years agoUpdate the main reactor to parent 25
Robert Munteanu [Mon, 5 Oct 2015 10:03:45 +0000 (10:03 +0000)] 
Update the main reactor to parent 25

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1706780 13f79535-47bb-0310-9956-ffa450edef68

3 years agotrivial: minor code cleaning
Radu Cotescu [Mon, 21 Sep 2015 10:34:03 +0000 (10:34 +0000)] 
trivial: minor code cleaning

* corrected JavaDoc
* removed unused variables / parameters
* removed redundant unboxing

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1704258 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will...
Radu Cotescu [Mon, 21 Sep 2015 10:33:46 +0000 (10:33 +0000)] 
SLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will query all injectors

* allow retrieving an injector directly if @Source is used, without iterating through all registered injectors

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1704257 13f79535-47bb-0310-9956-ffa450edef68

3 years agoupdate to next snapshot version until releases are available in maven central
Stefan Seifert [Thu, 10 Sep 2015 22:12:54 +0000 (22:12 +0000)] 
update to next snapshot version until releases are available in maven central

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702342 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Seifert [Thu, 10 Sep 2015 21:56:35 +0000 (21:56 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702337 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.2
Stefan Seifert [Thu, 10 Sep 2015 21:56:18 +0000 (21:56 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.2

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702335 13f79535-47bb-0310-9956-ffa450edef68

3 years agoupdate to API release version
Stefan Seifert [Thu, 10 Sep 2015 21:55:40 +0000 (21:55 +0000)] 
update to API release version

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702334 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4997 add new method isModelClass and deprecate the old one
Konrad Windszus [Thu, 10 Sep 2015 08:36:33 +0000 (08:36 +0000)] 
SLING-4997 add new method isModelClass and deprecate the old one

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702186 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-5010 Sling Models: Stale StaticInjectionAnnotationProcesssorFactory list depend...
Stefan Seifert [Wed, 9 Sep 2015 20:04:55 +0000 (20:04 +0000)] 
SLING-5010 Sling Models: Stale StaticInjectionAnnotationProcesssorFactory list depending on bundle startup order

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1702098 13f79535-47bb-0310-9956-ffa450edef68

3 years agoset parent version to 24 and add empty relativePath where missing
Oliver Lietz [Tue, 7 Jul 2015 08:09:17 +0000 (08:09 +0000)] 
set parent version to 24 and add empty relativePath where missing

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1689593 13f79535-47bb-0310-9956-ffa450edef68

3 years agoRemove superflous sling.java.version=6 as it's the default now
Robert Munteanu [Thu, 25 Jun 2015 13:14:53 +0000 (13:14 +0000)] 
Remove superflous sling.java.version=6 as it's the default now

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687505 13f79535-47bb-0310-9956-ffa450edef68

3 years agoUpdate to Sling Parent 23
Robert Munteanu [Thu, 25 Jun 2015 13:08:16 +0000 (13:08 +0000)] 
Update to Sling Parent 23

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687500 13f79535-47bb-0310-9956-ffa450edef68

3 years agoupdate to latest snapshot versions
Stefan Seifert [Wed, 24 Jun 2015 08:04:55 +0000 (08:04 +0000)] 
update to latest snapshot versions

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687194 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare for next development iteration
Stefan Seifert [Wed, 24 Jun 2015 08:00:06 +0000 (08:00 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687192 13f79535-47bb-0310-9956-ffa450edef68

3 years ago[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.0
Stefan Seifert [Wed, 24 Jun 2015 07:59:52 +0000 (07:59 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.models.impl-1.2.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687190 13f79535-47bb-0310-9956-ffa450edef68

3 years agoupdate to released API version
Stefan Seifert [Wed, 24 Jun 2015 07:59:09 +0000 (07:59 +0000)] 
update to released API version

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687189 13f79535-47bb-0310-9956-ffa450edef68

3 years agofix javadoc errors so java 8 is not complaining
Stefan Seifert [Wed, 24 Jun 2015 07:56:29 +0000 (07:56 +0000)] 
fix javadoc errors so java 8 is not complaining

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687185 13f79535-47bb-0310-9956-ffa450edef68

3 years agoremove some unused imports
Stefan Seifert [Wed, 24 Jun 2015 07:43:16 +0000 (07:43 +0000)] 
remove some unused imports

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1687181 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4779 rely on RankedServices
Konrad Windszus [Wed, 10 Jun 2015 16:32:57 +0000 (16:32 +0000)] 
SLING-4779 rely on RankedServices

for that embed the necessary packages from commons-osgi into the bundle

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1684708 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4161 log validation errors only with level debug
Konrad Windszus [Wed, 3 Jun 2015 06:35:33 +0000 (06:35 +0000)] 
SLING-4161 log validation errors only with level debug

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1683240 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4161 move validation to separate bundle
Konrad Windszus [Mon, 1 Jun 2015 16:24:13 +0000 (16:24 +0000)] 
SLING-4161 move validation to separate bundle

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682946 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4767
Konrad Windszus [Mon, 1 Jun 2015 07:21:27 +0000 (07:21 +0000)] 
SLING-4767

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682826 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4737 add explicit dependency on JSR 305 annotations
Konrad Windszus [Mon, 1 Jun 2015 06:45:23 +0000 (06:45 +0000)] 
SLING-4737 add explicit dependency on JSR 305 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682824 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4737, fix some more JSR 305 annotation warnings
Konrad Windszus [Fri, 29 May 2015 09:47:34 +0000 (09:47 +0000)] 
SLING-4737, fix some more JSR 305 annotation warnings

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682407 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4737 fix some warnings in test classes due to new JSR 305 annotations
Konrad Windszus [Fri, 29 May 2015 09:40:58 +0000 (09:40 +0000)] 
SLING-4737 fix some warnings in test classes due to new JSR 305 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682404 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4737 add missing JSR 305 annotations
Konrad Windszus [Fri, 29 May 2015 09:27:50 +0000 (09:27 +0000)] 
SLING-4737 add missing JSR 305 annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1682403 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-3709 remove @Nonnull annotation to fix build
Konrad Windszus [Wed, 20 May 2015 15:17:12 +0000 (15:17 +0000)] 
SLING-3709 remove @Nonnull annotation to fix build

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1680598 13f79535-47bb-0310-9956-ffa450edef68

3 years agoremoved unused imports
Konrad Windszus [Wed, 20 May 2015 14:49:53 +0000 (14:49 +0000)] 
removed unused imports

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1680585 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-3709 improve exception handling by using dedicated exception classes instead...
Konrad Windszus [Wed, 20 May 2015 14:39:19 +0000 (14:39 +0000)] 
SLING-3709 improve exception handling by using dedicated exception classes instead of the one global result object

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1680581 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4630 Avoid logging an failure that is thrown as exception in ModelFactory.creat...
Stefan Seifert [Tue, 12 May 2015 16:18:31 +0000 (16:18 +0000)] 
SLING-4630 Avoid logging an failure that is thrown as exception in ModelFactory.createModel (patch supplied by Georg Henzler)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1678998 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4155 fix typo in annotation property: injectonStrategy => injectionStrategy
Stefan Seifert [Tue, 12 May 2015 13:19:11 +0000 (13:19 +0000)] 
SLING-4155 fix typo in annotation property: injectonStrategy => injectionStrategy

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1678937 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4698 - Set parent.relativePath to empty for all modules
Robert Munteanu [Thu, 7 May 2015 10:14:40 +0000 (10:14 +0000)] 
SLING-4698 - Set parent.relativePath to empty for all modules

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1678154 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4447 move Sightly Use Provider for Models into dedicated bundle
Konrad Windszus [Thu, 30 Apr 2015 14:16:36 +0000 (14:16 +0000)] 
SLING-4447 move Sightly Use Provider for Models into dedicated bundle

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1677000 13f79535-47bb-0310-9956-ffa450edef68

3 years agoAdd missing licence headers
Carsten Ziegeler [Mon, 27 Apr 2015 15:22:31 +0000 (15:22 +0000)] 
Add missing licence headers

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1676301 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4618 - Remove dependency to unexported class
Radu Cotescu [Tue, 14 Apr 2015 13:43:27 +0000 (13:43 +0000)] 
SLING-4618 - Remove dependency to unexported class

* removed dependency to org.apache.sling.scripting.sightly.impl.engine.extension.use.UseProviderUtils

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1673425 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4447, rely on released version of Sightly to fix build errors related to SNAPSH...
Konrad Windszus [Tue, 7 Apr 2015 08:32:49 +0000 (08:32 +0000)] 
SLING-4447, rely on released version of Sightly to fix build errors related to SNAPSHOT not being available

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1671761 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4432 Sling Models: Include more specific information in model adaption failure...
Stefan Seifert [Fri, 27 Mar 2015 11:17:43 +0000 (11:17 +0000)] 
SLING-4432 Sling Models: Include more specific information in model adaption failure log messages

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1669540 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4447 provide a SlingModels Sightly UseProvider which throws exceptions in case...
Konrad Windszus [Thu, 26 Feb 2015 12:27:25 +0000 (12:27 +0000)] 
SLING-4447 provide a SlingModels Sightly UseProvider which throws exceptions in case a Sling Model cannot be instantiated instead of falling back to the simple Pojo instantiation.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1662434 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4432 Sling Models: Include more specific information in model adaption failure...
Stefan Seifert [Wed, 18 Feb 2015 23:44:03 +0000 (23:44 +0000)] 
SLING-4432 Sling Models: Include more specific information in model adaption failure log messages

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1660768 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSLING-4373 throw IAE in case null is given as parameter to createModel
Konrad Windszus [Fri, 30 Jan 2015 11:01:53 +0000 (11:01 +0000)] 
SLING-4373 throw IAE in case null is given as parameter to createModel

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1655986 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4212 Sling Models: Allow multiple values from ValueMap in the resource-path...
Stefan Seifert [Fri, 23 Jan 2015 23:05:13 +0000 (23:05 +0000)] 
SLING-4212 Sling Models: Allow multiple values from ValueMap in the resource-path injector (applied patch by santiago garcĂ­a pimentel with some modifications)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1654430 13f79535-47bb-0310-9956-ffa450edef68

4 years agoeliminate deprecation warnings by adding @SuppressWarning annotations
Stefan Seifert [Fri, 23 Jan 2015 00:00:48 +0000 (00:00 +0000)] 
eliminate deprecation warnings by adding @SuppressWarning annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1654100 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4112 make sure all variants of InjectAnnotationProcessorFactory are displayed...
Stefan Seifert [Thu, 22 Jan 2015 23:55:10 +0000 (23:55 +0000)] 
SLING-4112 make sure all variants of InjectAnnotationProcessorFactory are displayed in configuration printer

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1654099 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4059 Sling Models: ResourceResolverInjector is obsolete
Stefan Seifert [Thu, 22 Jan 2015 23:02:33 +0000 (23:02 +0000)] 
SLING-4059 Sling Models: ResourceResolverInjector is obsolete

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1654093 13f79535-47bb-0310-9956-ffa450edef68

4 years agocosmetic: eliminate some unused imports
Stefan Seifert [Thu, 22 Jan 2015 22:27:45 +0000 (22:27 +0000)] 
cosmetic: eliminate some unused imports

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1654090 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4161 support Sling Validation by a new field on the Model annotation
Konrad Windszus [Tue, 9 Dec 2014 14:46:28 +0000 (14:46 +0000)] 
SLING-4161 support Sling Validation by a new field on the Model annotation

The dependency to Sling Validation is optional (i.e. Sling Models still work even if  Sling Validation is not deployed)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1644069 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4195 array initialized to wrong size due to typo
Konrad Windszus [Mon, 24 Nov 2014 18:01:50 +0000 (18:01 +0000)] 
SLING-4195 array initialized to wrong size due to typo

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1641433 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4192, fix typo in ModelAdapterFactory
Konrad Windszus [Mon, 24 Nov 2014 13:18:11 +0000 (13:18 +0000)] 
SLING-4192, fix typo in ModelAdapterFactory

This closes #47

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1641391 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4155, consider default injection strategy also for injector-specific annotations
Konrad Windszus [Thu, 20 Nov 2014 10:18:08 +0000 (10:18 +0000)] 
SLING-4155, consider default injection strategy also for injector-specific annotations

by that deprecate isOptional on all injector-specific annotations and introduce the new injectionStrategy attribute as a replacement.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1640710 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4112 Sling Models: Optimize performance when read sling models annotations
Stefan Seifert [Thu, 13 Nov 2014 13:51:33 +0000 (13:51 +0000)] 
SLING-4112 Sling Models: Optimize performance when read sling models annotations

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1639323 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4083 revert all changes from trunk, copied to branch https://svn.apache.org...
Stefan Seifert [Thu, 30 Oct 2014 10:02:59 +0000 (10:02 +0000)] 
SLING-4083 revert all changes from trunk, copied to branch https://svn.apache.org/repos/asf/sling/whiteboard/sseifert/SLING-4083_models_slingobject_threadlocal

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1635446 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4056 ModelFactory.canCreateFromAdaptable reports false errors when using "adapt...
Stefan Seifert [Wed, 22 Oct 2014 20:20:55 +0000 (20:20 +0000)] 
SLING-4056 ModelFactory.canCreateFromAdaptable reports false errors when using "adapters" on models (patch suppplied by Konrad Windszus)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633709 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4083 fix comment
Stefan Seifert [Wed, 22 Oct 2014 08:15:23 +0000 (08:15 +0000)] 
SLING-4083 fix comment

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633555 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4083 add missing "test" scope
Stefan Seifert [Tue, 21 Oct 2014 16:28:11 +0000 (16:28 +0000)] 
SLING-4083 add missing "test" scope

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633412 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4083 Enable SlingObject injector to inject all context objects when a request...
Stefan Seifert [Tue, 21 Oct 2014 16:12:24 +0000 (16:12 +0000)] 
SLING-4083 Enable SlingObject injector to inject all context objects when a request is attached to the current thread

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633409 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove auto-generated TODO tag
Stefan Seifert [Tue, 21 Oct 2014 15:37:46 +0000 (15:37 +0000)] 
remove auto-generated TODO tag

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633400 13f79535-47bb-0310-9956-ffa450edef68

4 years agomove detailed JavaDoc description of SlingObject injector support to annotation,...
Stefan Seifert [Tue, 21 Oct 2014 15:32:35 +0000 (15:32 +0000)] 
move detailed JavaDoc description of SlingObject injector support to annotation, because this is what's usually only included as dependency in the projects

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1633399 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-4057 ModelFactory: Ordering of method arguments inconsistent
Stefan Seifert [Wed, 15 Oct 2014 13:41:31 +0000 (13:41 +0000)] 
SLING-4057 ModelFactory: Ordering of method arguments inconsistent

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1632023 13f79535-47bb-0310-9956-ffa450edef68

4 years agoreformat list of enums (no code change)
Stefan Seifert [Wed, 15 Oct 2014 13:08:24 +0000 (13:08 +0000)] 
reformat list of enums (no code change)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1632006 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3709 - adding additional testing for missing elements and post construct failures
Justin Edelson [Fri, 3 Oct 2014 18:09:32 +0000 (18:09 +0000)] 
SLING-3709 - adding additional testing for missing elements and post construct failures

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1629277 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3709 - introduce new ModelFactory service interface which throws various except...
Justin Edelson [Wed, 1 Oct 2014 20:04:24 +0000 (20:04 +0000)] 
SLING-3709 - introduce new ModelFactory service interface which throws various exceptions based on failure conditions. Thanks to Konrad Windszus for the original patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1628824 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3923 - fixing multiple calls to post construct method with patch from Konrad...
Justin Edelson [Wed, 1 Oct 2014 13:18:01 +0000 (13:18 +0000)] 
SLING-3923 - fixing multiple calls to post construct method with patch from Konrad Windszus. Thanks! This closes #27

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1628698 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate to Sling Parent POM 22 with baselining enabled
Carsten Ziegeler [Wed, 1 Oct 2014 06:57:44 +0000 (06:57 +0000)] 
Update to Sling Parent POM 22 with baselining enabled

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1628622 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove log member variable which is not used currently
Stefan Seifert [Mon, 29 Sep 2014 15:44:04 +0000 (15:44 +0000)] 
remove log member variable which is not used currently

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1628208 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove @SuppressWarnings("javadoc") from unit test files (most of them where added...
Stefan Seifert [Mon, 29 Sep 2014 15:43:04 +0000 (15:43 +0000)] 
remove @SuppressWarnings("javadoc") from unit test files (most of them where added by my patches) - this is not usual in the other sources

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1628207 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3911 - fixing issue where empty or wrong arrays are specified for default values
Justin Edelson [Fri, 12 Sep 2014 13:54:49 +0000 (13:54 +0000)] 
SLING-3911 - fixing issue where empty or wrong arrays are specified for default values

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1624550 13f79535-47bb-0310-9956-ffa450edef68

4 years agoformatting
Justin Edelson [Mon, 8 Sep 2014 14:59:44 +0000 (14:59 +0000)] 
formatting

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1623419 13f79535-47bb-0310-9956-ffa450edef68

4 years agousing next snapshot during release
Justin Edelson [Tue, 2 Sep 2014 19:17:36 +0000 (19:17 +0000)] 
using next snapshot during release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1622104 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[maven-release-plugin] prepare for next development iteration
Justin Edelson [Tue, 2 Sep 2014 19:14:47 +0000 (19:14 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1622103 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[maven-release-plugin] prepare release org.apache.sling.models.impl-1.1.0
Justin Edelson [Tue, 2 Sep 2014 19:14:41 +0000 (19:14 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.models.impl-1.1.0

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1622101 13f79535-47bb-0310-9956-ffa450edef68

4 years agorelease prep
Justin Edelson [Tue, 2 Sep 2014 19:12:54 +0000 (19:12 +0000)] 
release prep

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1622097 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3886 - adding support for adapter indirection where the adapting target is...
Justin Edelson [Fri, 29 Aug 2014 18:53:41 +0000 (18:53 +0000)] 
SLING-3886 - adding support for adapter indirection where the adapting target is a superclass or implemented interface of the implementation class. Thanks to Stefan for the patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1621361 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3897 - fixing synchronization block error
Justin Edelson [Fri, 29 Aug 2014 11:41:59 +0000 (11:41 +0000)] 
SLING-3897 - fixing synchronization block error

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1621289 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3897 - fixing copy&paste error in unbind method. Thanks to Stefan for the patch!
Justin Edelson [Fri, 29 Aug 2014 11:32:05 +0000 (11:32 +0000)] 
SLING-3897 - fixing copy&paste error in unbind method. Thanks to Stefan for the patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1621286 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3895 - supporting list adaptation for method and constructor injection
Justin Edelson [Thu, 28 Aug 2014 23:41:16 +0000 (23:41 +0000)] 
SLING-3895 - supporting list adaptation for method and constructor injection

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1621231 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3894 - removing duplicate type checks in Request and SlingBindings injectors
Justin Edelson [Thu, 28 Aug 2014 23:00:37 +0000 (23:00 +0000)] 
SLING-3894 - removing duplicate type checks in Request and SlingBindings injectors

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1621224 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3879 - fixing NPE in PathInjector. Thanks Stefan for the patch!
Justin Edelson [Mon, 25 Aug 2014 11:44:46 +0000 (11:44 +0000)] 
SLING-3879 - fixing NPE in PathInjector. Thanks Stefan for the patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1620296 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3715 - adding sling object injector. Thanks to Stefan for the patch!
Justin Edelson [Sun, 24 Aug 2014 19:09:39 +0000 (19:09 +0000)] 
SLING-3715 - adding sling object injector. Thanks to Stefan for the patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1620175 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3878 - allowing the injection of parameterized request attributes
Justin Edelson [Sun, 24 Aug 2014 12:41:58 +0000 (12:41 +0000)] 
SLING-3878 - allowing the injection of parameterized request attributes

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1620132 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3860 - allowing maximum recursion depth to be configured
Justin Edelson [Fri, 22 Aug 2014 21:39:30 +0000 (21:39 +0000)] 
SLING-3860 - allowing maximum recursion depth to be configured

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619937 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3877 - adding a resource path injector. also did some minor refactoring to...
Justin Edelson [Fri, 22 Aug 2014 15:50:07 +0000 (15:50 +0000)] 
SLING-3877 - adding a resource path injector. also did some minor refactoring to avoid code duplication between injectors.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619848 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3876 - ensuring that class-based self injection only happens on the first const...
Justin Edelson [Fri, 22 Aug 2014 15:49:57 +0000 (15:49 +0000)] 
SLING-3876 - ensuring that class-based self injection only happens on the first constructor parameter. Otherwise the @Self annotation is necessary. Also changing the ranking so that other injectors have the opportunity to inject to the first constructor parameter before.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619847 13f79535-47bb-0310-9956-ffa450edef68

4 years agofixing error in Sling Models test code - service ranking must be an integer to be...
Justin Edelson [Fri, 22 Aug 2014 14:18:41 +0000 (14:18 +0000)] 
fixing error in Sling Models test code - service ranking must be an integer to be effective

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619818 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3869 - fixing branding issues with Sling Models. Thanks to Stefan Seifert for...
Justin Edelson [Thu, 21 Aug 2014 20:46:36 +0000 (20:46 +0000)] 
SLING-3869 - fixing branding issues with Sling Models. Thanks to Stefan Seifert for the patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619575 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3863 - correcting behavior where optional methods and constructor parameters...
Justin Edelson [Wed, 20 Aug 2014 19:42:00 +0000 (19:42 +0000)] 
SLING-3863 - correcting behavior where optional methods and constructor parameters were injected with non-null wrapper classes.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619212 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3863 - adding initial values for primitives when injecting to fields and constr...
Justin Edelson [Wed, 20 Aug 2014 18:42:24 +0000 (18:42 +0000)] 
SLING-3863 - adding initial values for primitives when injecting to fields and constructor params. Thanks to Stefan Seifert for the original patch!

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619199 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3861 - adding condition option for @Model annotation
Justin Edelson [Wed, 20 Aug 2014 16:02:38 +0000 (16:02 +0000)] 
SLING-3861 - adding condition option for @Model annotation

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619134 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3716 SLING-3718 - adding support for constructor injection and self injection...
Justin Edelson [Tue, 19 Aug 2014 22:51:36 +0000 (22:51 +0000)] 
SLING-3716 SLING-3718 - adding support for constructor injection and self injection based on a patch from Stefan Seifert

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1619007 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdated to parent version 20
Robert Munteanu [Fri, 1 Aug 2014 19:16:26 +0000 (19:16 +0000)] 
Updated to parent version 20

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1615208 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSLING-3703 - referencing older version of commons osgi
Justin Edelson [Fri, 25 Jul 2014 12:33:05 +0000 (12:33 +0000)] 
SLING-3703 - referencing older version of commons osgi

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1613413 13f79535-47bb-0310-9956-ffa450edef68

4 years agousing next version during release
Justin Edelson [Wed, 25 Jun 2014 17:00:17 +0000 (17:00 +0000)] 
using next version during release

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1605500 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[maven-release-plugin] prepare for next development iteration
Justin Edelson [Wed, 25 Jun 2014 15:56:11 +0000 (15:56 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1605462 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[maven-release-plugin] prepare release org.apache.sling.models.impl-1.0.6
Justin Edelson [Wed, 25 Jun 2014 15:56:06 +0000 (15:56 +0000)] 
[maven-release-plugin] prepare release org.apache.sling.models.impl-1.0.6

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1605460 13f79535-47bb-0310-9956-ffa450edef68

4 years agousing released version of API
Justin Edelson [Wed, 25 Jun 2014 15:54:50 +0000 (15:54 +0000)] 
using released version of API

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1605459 13f79535-47bb-0310-9956-ffa450edef68