You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2015/02/23 12:01:12 UTC
[jira] [Commented] (DELTASPIKE-837) PropertyFileConfig pickup via
java.util.ServiceLoader
[ https://issues.apache.org/jira/browse/DELTASPIKE-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333207#comment-14333207 ]
Mark Struberg commented on DELTASPIKE-837:
------------------------------------------
Solution committed, plz review.
Still need to add the docs though.
> PropertyFileConfig pickup via java.util.ServiceLoader
> -----------------------------------------------------
>
> Key: DELTASPIKE-837
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-837
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Configuration
> Affects Versions: 1.2.1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.2.2
>
>
> Picking up the PropertyFileConfig via CDI Extensions in EARs creates a problem in some Application Servers (they are simply broken with EARs).
> As a workaround I suggest we allow picking up PropertyFileConfigs via java.util.ServiceLoader as well.
> This also has the nice benefit that those config files are then available at boot time already (and not only after the CDI container did start up).
> This is also a possible workaround for apps which have problems with DELTASPIKE-648
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)