|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsc.jndi.AbstractSimpleJndiService
org.lsc.jndi.FullDNJndiDstService
public class FullDNJndiDstService
This class is a generic but configurable implementation to read data from the destination directory.
You can specify where (baseDn) and what (filterId & attr) information will be read on which type of entries (filterAll).
This connector has the particularity of identifying entries by their DN, and not via pivot attributes.
For standard behavior with pivot attributes, see SimpleJndiSrcService. The list of DNs will be
returned ordered from longest to shortest, to ensure that "child" entries are deleted before "parent" entries
(during a clean operation).
| Constructor Summary | |
|---|---|
FullDNJndiDstService(Properties props,
String beanClassName)
Constructor adapted to the context properties and the bean class name to instantiate. |
|
| Method Summary | |
|---|---|
IBean |
getBean(Map.Entry<String,LscAttributes> id)
The simple object getter according to its identifier. |
JndiServices |
getJndiServices()
Destination LDAP Services getter. |
Map<String,LscAttributes> |
getListPivots()
Returns a list of all the objects identifiers. |
| Methods inherited from class org.lsc.jndi.AbstractSimpleJndiService |
|---|
get, getAttrs, getAttrsId, getBaseDn, getBeanFromSR, getFilterAll, getFilterId, getObjectFromSR |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullDNJndiDstService(Properties props,
String beanClassName)
props - the properties used to identify the directory parameters and contextbeanClassName - the bean class name that will be instantiated and feed up| Method Detail |
|---|
public final JndiServices getJndiServices()
getJndiServices in class AbstractSimpleJndiService
public IBean getBean(Map.Entry<String,LscAttributes> id)
throws NamingException
getBean in interface IJndiDstServiceid - the data identifier in the directory - must return a unique directory entry
NamingException - thrown if an directory exception is encountered while getting the identified bean
public Map<String,LscAttributes> getListPivots()
throws NamingException
IJndiDstService
getListPivots in interface IJndiDstServiceNamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||