Add a method PropertyHolderSource.getProperties(Class<?>
aClass)
----------------------------------------------------------------
Key: ROASTER-35
URL:
https://issues.jboss.org/browse/ROASTER-35
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.7.1.Final
Reporter: Antonio Goncalves
Assignee: Stephan Windmüller
Fix For: 2.19.3.Final
At the moment the interface {{PropertyHolderSource}} only has one method to return a
given property (by name) or all the properties.
{code}
List<PropertySource<O>> getProperties();
PropertySource<O> getProperty(String name);
{code}
A common use case I have is to get all the properties of a given type. So something like
that would be very useful :
{code}
List<PropertySource<O>> getProperties(Class type);
{code}