@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface DirectoryServerContext extends ServerContext
Modifier and Type | Method and Description |
---|---|
void |
deregisterBackendInitializationListener(RegisteredBackendInitializationListener listener)
Deregisters the provided backend initialization listener with the server.
|
BackendContext[] |
getAllBackends()
Returns an array of all the backends defined in the Directory Server.
|
BackendContext |
getBackendForEntry(java.lang.String dn)
Returns the
BackendContext for the backend which should handle the
specified entry, or null if there is no backend that handles this entry. |
RegisteredBackendInitializationListener |
registerBackendInitializationListener(BackendInitializationListener listener)
Registers the provided backend initialization listener with the server so
that it may be notified of any backends coming online or going offline.
|
createEMailAttachment, createEMailMessage, createThread, createValueConstructor, debugCaught, debugEnabled, debugError, debugInfo, debugThrown, debugVerbose, debugWarning, deregisterAllMonitorProviders, deregisterChangeListener, deregisterDiskSpaceConsumer, deregisterMonitorProvider, deregisterShutdownListener, deregisterSupportedControlOID, getBasicProductName, getClientConnection, getClientRootConnection, getCompactProductName, getEncryptedOutputStream, getEncryptedOutputStream, getEncryptionSettingsDefinition, getEncryptionSettingsDefinitions, getFullProductName, getFullVendorName, getFullVersion, getGroup, getGroupsForUser, getInstanceName, getInternalConnection, getInternalRootConnection, getLDAPExternalServerConnection, getLDAPExternalServerConnectionPool, getLocation, getMajorVersionNumber, getMinorVersionNumber, getObscuredValue, getPackageName, getPassphraseFromPassphraseProvider, getPatchVersionNumber, getPointVersionNumber, getPossiblyCompressedAndEncryptedInputStream, getPossiblyCompressedAndEncryptedInputStream, getPreferredEncryptionSettingsDefinition, getPrivilegeNames, getSchema, getServerRoot, getShortVendorName, getSourceRevision, getStartTime, getStartupID, getStartupUUID, getToolExecutor, getVersionNumber, getVersionQualifier, hasPrivilege, isDirectoryFunctionalityAvailable, isDirectoryProxyFunctionalityAvailable, isRunning, isShuttingDown, isStarting, isSyncFunctionalityAvailable, isTraceMessageLoggable, logMessage, logTraceMessage, logTraceMessage, registerChangeListener, registerDiskSpaceConsumer, registerMonitorProvider, registerShutdownListener, registerSupportedControlOID, reloadHTTPConnectionHandlerCertificates, sendAlert, sendAlert, sendDegradedAlertNotification, sendUnavailableAlertNotification
BackendContext[] getAllBackends()
BackendContext
objects. This will never
be null.BackendContext getBackendForEntry(java.lang.String dn) throws LDAPException
BackendContext
for the backend which should handle the
specified entry, or null if there is no backend that handles this entry.
Note that the entry does not need to exist. If a BackendContext is
returned, it will return true for
BackendContext.handlesEntry(String)
when given the specified DN.dn
- The DN for which to make the determination. It must not be
null
.BackendContext
for the given entry, or null if no such
backend exists.LDAPException
- If the provided string cannot be parsed as a valid
DN or if a problem is encountered while attempting
to retrieve the BackendContext.RegisteredBackendInitializationListener registerBackendInitializationListener(BackendInitializationListener listener)
listener
- The backend initialization listener to be registered
with the server. It must not be null
.void deregisterBackendInitializationListener(RegisteredBackendInitializationListener listener)
listener
- The listener to be deregistered. It must not be
null
.