|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.services.persondir.support.legacy.PersonDirInfoAdaptor
final class PersonDirInfoAdaptor
Adapts from a PersonDirInfo
to a IPersonAttributeDao
.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
LOG
|
protected static java.lang.String |
QUERY_ATTRIBUTE
|
private static java.util.List |
QUERY_ATTRIBUTE_LIST
|
Constructor Summary | |
---|---|
private |
PersonDirInfoAdaptor()
This class is not intended to be instantiated, hence the private constructor. |
Method Summary | |
---|---|
(package private) static IPersonAttributeDao |
adapt(PersonDirInfo info)
Return an IPersonAttributeDao implementing the source defined by the given PersonDirInfo. |
private static IPersonAttributeDao |
jdbcDao(PersonDirInfo info)
Obtain a JdbcPersonAttributeDaoImpl for the given PersonDirInfo . |
private static IPersonAttributeDao |
ldapDao(PersonDirInfo info)
Obtain a LdapPersonAttributeDaoImpl for the given PersonDirInfo . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log LOG
protected static final java.lang.String QUERY_ATTRIBUTE
private static final java.util.List QUERY_ATTRIBUTE_LIST
Constructor Detail |
---|
private PersonDirInfoAdaptor()
Method Detail |
---|
static IPersonAttributeDao adapt(PersonDirInfo info)
info
- PersonDirInfo defining the attribute source we implement
java.lang.IllegalArgumentException
private static IPersonAttributeDao jdbcDao(PersonDirInfo info)
JdbcPersonAttributeDaoImpl
for the given PersonDirInfo
.
info
- The PersonDirInfo
to use as a basis for the DAO
JdbcPersonAttributeDaoImpl
private static IPersonAttributeDao ldapDao(PersonDirInfo info)
LdapPersonAttributeDaoImpl
for the given PersonDirInfo
.
info
- The PersonDirInfo
to use as a basis for the DAO
LdapPersonAttributeDaoImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |