[
https://issues.apache.org/jira/browse/DIRAPI-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748261#comment-13748261
]
Emmanuel Lecharny commented on DIRAPI-153:
------------------------------------------
We do need a LdapConnection.setSchemaManager( SchemaManager ) method. Having to
wait 2 seconds to crate a schemaManager in the loadSchema() method is just a
show stopper.
> Implement efficient reuse of schema loading
> -------------------------------------------
>
> Key: DIRAPI-153
> URL: https://issues.apache.org/jira/browse/DIRAPI-153
> Project: Directory Client API
> Issue Type: Improvement
> Affects Versions: 1.0.0-M20
> Reporter: Gerald Turner
>
> Each LdapConnection has to loadSchema(...) to become schema aware. While
> testing I have found this to take about 2 seconds. It would be great if
> schema loading could be done once while an application is initializing and
> then reused on subsequent connections. Perhaps additional SchemaManager API
> could be added to classes like LdapConnectionConfig,
> PoolableLdapConnectionFactory, and LdapConnectionPool?
> Mailing List reference:
> https://mail-archives.apache.org/mod_mbox/directory-api/201308.mbox/%3CCABzFU-eOfmwiFpR1w0Fd-JhNFBVLO0NkHKa5w61ReFBEq%3DWkaw%40mail.gmail.com%3E
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira