| Modifier and Type | Field and Description |
|---|---|
private net.sf.ehcache.Cache |
dnCache
The cache for DNs
|
private boolean |
enableStats
Flag to enable stats
|
private int |
hitCount |
private static org.slf4j.Logger |
LOG |
private int |
missCount |
private org.apache.directory.api.ldap.model.schema.SchemaManager |
schemaManager
The schema manager
|
| Constructor and Description |
|---|
DefaultDnFactory(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
net.sf.ehcache.Cache dnCache)
Instantiates a new default Dn factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.name.Dn |
create(java.lang.String... upRdns)
Creates a Dn from user provided RDNs.
|
org.apache.directory.api.ldap.model.name.Dn |
create(java.lang.String dn)
Creates a Dn form a user provided Dn.
|
private static final org.slf4j.Logger LOG
private net.sf.ehcache.Cache dnCache
private org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager
private boolean enableStats
private int hitCount
private int missCount
public DefaultDnFactory(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
net.sf.ehcache.Cache dnCache)
directoryService - the directory servicepublic org.apache.directory.api.ldap.model.name.Dn create(java.lang.String dn)
throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
public org.apache.directory.api.ldap.model.name.Dn create(java.lang.String... upRdns)
throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException