You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (Created) (JIRA)" <ji...@apache.org> on 2012/03/07 22:36:58 UTC
[jira] [Created] (DELTASPIKE-114) @ConfigProperty based on
ConfigResolver
@ConfigProperty based on ConfigResolver
---------------------------------------
Key: DELTASPIKE-114
URL: https://issues.apache.org/jira/browse/DELTASPIKE-114
Project: DeltaSpike
Issue Type: New Feature
Components: Core
Affects Versions: 0.1-incubating
Reporter: gonzalad
Assignee: Gerhard Petracek
Fix For: 0.2-incubating
@Produces
public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
//...
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DELTASPIKE-114) @ConfigProperty based on
ConfigResolver
Posted by "Gerhard Petracek (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DELTASPIKE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved DELTASPIKE-114.
-----------------------------------------
Resolution: Fixed
> @ConfigProperty based on ConfigResolver
> ---------------------------------------
>
> Key: DELTASPIKE-114
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-114
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.1-incubating
> Reporter: gonzalad
> Assignee: Gerhard Petracek
> Fix For: 0.2-incubating
>
>
> example:
> @Produces
> public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
> //...
> }
> we have an agreement for it ( http://s.apache.org/mlW )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DELTASPIKE-114) @ConfigProperty based on
ConfigResolver
Posted by "Gerhard Petracek (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DELTASPIKE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224739#comment-13224739 ]
Gerhard Petracek commented on DELTASPIKE-114:
---------------------------------------------
optional support for:
@ConfigProperty(name = "pool_size", eager = true, converter = StringToIntegerConverter.class)
public @interface PoolSize
{
}
@Inject
@PoolSize
private int configuredPoolSize;
eager should be true by default -> the configured value gets converted during bootstrapping (if the value has an invalid format the bootstrapping process fails).
if eager is false, the configured value will be converted directly before the injection (e.g. for values stored in dynamic config-sources).
> @ConfigProperty based on ConfigResolver
> ---------------------------------------
>
> Key: DELTASPIKE-114
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-114
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.1-incubating
> Reporter: gonzalad
> Assignee: Gerhard Petracek
> Fix For: 0.2-incubating
>
>
> @Produces
> public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
> //...
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DELTASPIKE-114) @ConfigProperty based on
ConfigResolver
Posted by "Gerhard Petracek (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DELTASPIKE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek updated DELTASPIKE-114:
----------------------------------------
Description:
example:
@Produces
public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
//...
}
we have an agreement for it ( http://s.apache.org/mlW )
was:
@Produces
public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
//...
}
> @ConfigProperty based on ConfigResolver
> ---------------------------------------
>
> Key: DELTASPIKE-114
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-114
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.1-incubating
> Reporter: gonzalad
> Assignee: Gerhard Petracek
> Fix For: 0.2-incubating
>
>
> example:
> @Produces
> public MyBean produceMyBean(@ConfigProperty("propertyA") String propertyA, @ConfigProperty("propertyB") String propertyB)
> //...
> }
> we have an agreement for it ( http://s.apache.org/mlW )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira