You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/29 09:02:00 UTC

[jira] [Commented] (DELTASPIKE-1456) Introduce default methods for some functions in ConfigSource

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

ASF subversion and git services commented on DELTASPIKE-1456:
-------------------------------------------------------------

Commit 63122947001cdece57ad054a9d5a43a84c5aefc9 in deltaspike's branch refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=63122947 ]

DELTASPIKE-1456 add default methods to ConfigSource

* isScannable() is now a default method which returns true
* getOrdinal() is now a default method which checks "deltaspike_ordinal"
or returns 100.


> Introduce default methods for some functions in ConfigSource
> ------------------------------------------------------------
>
>                 Key: DELTASPIKE-1456
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1456
>             Project: DeltaSpike
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Configuration
>    Affects Versions: 1.9.6
>            Reporter: Mark Struberg
>            Priority: Major
>             Fix For: 1.9.7
>
>
> Right now our {{ConfigSource}} interface is still mostly an old Java6 interface. We already use a default method for the onChange callback registration. We could also provide some other default methods, e.g. for {{getOrdinal()}} and {{isScannable(). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)