public class SyncReplSourceService extends SimpleJndiSrcService implements IAsynchronousService, Closeable
| Constructor and Description |
|---|
SyncReplSourceService(TaskType task) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IBean |
getBean(String id,
LscDatasets pivotAttrs,
boolean fromSameService)
The simple object getter according to its identifier.
|
static org.apache.directory.ldap.client.api.LdapAsyncConnection |
getConnection(LdapConnectionType ldapConn) |
long |
getInterval()
The delay in milliseconds to look for available updates
|
Map<String,LscDatasets> |
getListPivots()
Returns a list of all the objects' identifiers.
|
Map.Entry<String,LscDatasets> |
getNextId()
This call is blocking until a data available on the data source
|
static org.apache.directory.api.ldap.model.message.Control |
getSearchContinuationControl(LdapServerType serverType) |
getFilterIdCleanget, getAttrs, getAttrsId, getBaseDn, getBeanFromSR, getFilterAll, getFilterId, getJndiServicespublic SyncReplSourceService(TaskType task) throws LscServiceConfigurationException
LscServiceConfigurationExceptionpublic static org.apache.directory.ldap.client.api.LdapAsyncConnection getConnection(LdapConnectionType ldapConn) throws LscServiceConfigurationException
LscServiceConfigurationExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbstractSimpleJndiServiceIOExceptionpublic Map<String,LscDatasets> getListPivots() throws LscServiceException
SimpleJndiSrcServicegetListPivots in interface IServicegetListPivots in class SimpleJndiSrcServiceLscServiceExceptionpublic IBean getBean(String id, LscDatasets pivotAttrs, boolean fromSameService) throws LscServiceException
getBean in interface IServicegetBean in class SimpleJndiSrcServiceid - Name of the entry to be returned, which is the name returned by
getListPivots() (used for display only)pivotAttrs - Map of attribute names and values, which is the data identifier in the
source such as returned by getListPivots(). It must identify a unique
entry in the source.fromSameService - are the pivot attributes provided by the same serviceLscServiceException - May throw a NamingException if the object is not found in the
directory, or if more than one object would be returned.public Map.Entry<String,LscDatasets> getNextId() throws LscServiceException
IAsynchronousServicegetNextId in interface IAsynchronousServiceLscServiceExceptionpublic static org.apache.directory.api.ldap.model.message.Control getSearchContinuationControl(LdapServerType serverType) throws LscServiceConfigurationException
LscServiceConfigurationExceptionpublic long getInterval()
IAsynchronousServicegetInterval in interface IAsynchronousServiceCopyright © 2005-2017 LSC project. All Rights Reserved.