...
This configuration will query three IPersonAttributeDaos in order and merge their results using the default IAttributeMerger which is the MultivaluedAttributeMerger.
CascadingPersonAttributeDao
...
This configuration will query three IPersonAttributeDaos in order and merge their results using the default IAttributeMerger which is the ReplacingAttributeAdder.
Configuration
MergingPersonAttributeDaoImpl has an anonymous constructor.
Property | Type | Default Value |
|
---|---|---|---|
defaultAttribute | String | username | The attribute name to use for calls to IPersonAttributes getPerson(String). A query Map is generated for these calls using the defaultAttribute and the value passed in. |
personAttributeDaos | List<IPersonAttributesAttributeDao> | null | A List of IPersonAttributeDaos to be queried and have their results merged. |
attrMerger | IAttributeMerger | new ReplacingAttributeAdder() | The result set merging strategy to be used. See the Merging Strategies section for more information on available options. |
recoverExceptions | boolean | true | If an exception thrown by a child IPersonAttributesAttributeDao |
...