public interface ExportableDataProvider
FIXME: the async APIs used below are a bad fit. We do not want to return an
LdapException
. We really need a more generic promises API.
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.LdapPromise<Void> |
exportEntries(org.forgerock.opendj.ldif.EntryWriter writer,
org.forgerock.opendj.ldap.LdapResultHandler<Void> handler)
Exports the contents of this data provider to the provided entry writer.
|
DataProviderID |
getDataProviderID()
Returns the ID of this data provider.
|
org.forgerock.opendj.ldap.LdapPromise<Void> exportEntries(org.forgerock.opendj.ldif.EntryWriter writer, org.forgerock.opendj.ldap.LdapResultHandler<Void> handler)
Note that the server will not explicitly initialize this data provider before calling this method.
writer
- The entry writer.handler
- A handler which will be notified when the export completes.DataProviderID getDataProviderID()
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.