Value factories should have a create method that takes an un-typed iterable and returns a
typed iterable
--------------------------------------------------------------------------------------------------------
Key: DNA-226
URL:
https://jira.jboss.org/jira/browse/DNA-226
Project: DNA
Issue Type: Feature Request
Components: SPI
Affects Versions: 0.1
Reporter: Johnny Verhaeg
Fix For: 0.2
This enables the use of the for shorthand. For example:
Property property = ...
ExecutionContext executionContext = ...
ValueFactory<String> stringFactory =
executionContext.getValueFactories().getStringFactory();
for (String token : stringFactory.create(property)) {
...
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira