You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/08 23:18:40 UTC

[jira] [Commented] (WICKET-5991) Introduce models which use Java 8 supplier/consumer

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

ASF subversion and git services commented on WICKET-5991:
---------------------------------------------------------

Commit 414fc134cf719941bca6ed3e61e70c55d3b2f163 in wicket's branch refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=414fc13 ]

WICKET-5991 Introduce models which use Java 8 supplier/consumer

Add:
- LambdaModel - a model with supplier and consumer (dual to Model)
- SupplierModel - a read-only model that uses a Supplier to provide the object (dual to AbstractReadOnlyModel)
- SupplierCachingModel - a read-only model that uses a Supplier to provide the object. Caches the result until detached. (dual to LoadableDetachableModel)


> Introduce models which use Java 8 supplier/consumer
> ---------------------------------------------------
>
>                 Key: WICKET-5991
>                 URL: https://issues.apache.org/jira/browse/WICKET-5991
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 8.0.0-M1
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> Wicket should have IModel implementation which use Java 8 supplier/consumer, i.e. allow using method references / lambdas.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)