A
IPersonAttributeDao implementation which iterates over children
IPersonAttributeDaos queries each with the same data and merges their
reported attributes in a configurable way. The default merger is
MultivaluedAttributeMerger .
author: andrew.petro@yale.edu author: Eric Dalquist edalquist@unicon.net version: $Revision: 35515 $ $Date: 2005-04-06 08:31:40 -0700 (Wed, 06 Apr 2005) $ since: uPortal 2.5
getPossibleUserAttributeNames() This implementation is not always correct.
It handles the basic case where the Set of attributes returned by this
implementation is the union of the attributes declared by all of the
underlying implementations to be merged.
This implementation is not always correct.
It handles the basic case where the Set of attributes returned by this
implementation is the union of the attributes declared by all of the
underlying implementations to be merged. Of course, an IAttributeMerger
might provide for a merging policy such that the attributes resulting from
invoking this IPersonAttributeDao implementation are not the union
of the attributes declared by the underlying PersonAttributeDaos.
See Also:org.jasig.portal.services.persondir.IPersonAttributeDao.getPossibleUserAttributeNames
True if this class will catch exceptions thrown by its delegate DAOs
and fail to propogate them. False if this class will stop on failure.
Returns the recoverExceptions.
Set the strategy whereby we accumulate attributes from the results of
polling our delegates.
Parameters: merger - The attrMerger to set. throws: IllegalArgumentException - If merger is null.
setPersonAttributeDaos
public void setPersonAttributeDaos(List daos)(Code)
Set the
List of delegates which we will poll for attributes.
Parameters: daos - The personAttributeDaos to set. throws: IllegalArgumentException - If daos is null.
setRecoverExceptions
public void setRecoverExceptions(boolean recover)(Code)
Set to true if you would like this class to swallow RuntimeExceptions
thrown by its delegates. This allows it to recover if a particular attribute
source fails, still considering previous and subsequent sources.
Set to false if you would like this class to fail hard upon any Throwable
thrown by its children. This is desirable in cases where your Portal will not
function without attributes from all of its sources.
Parameters: recover - The recoverExceptions to set.
Fields inherited from org.jasig.portal.services.persondir.support.AbstractDefaultQueryPersonAttributeDao