Package org.opends.server.api.plugin
Class InternalDirectoryServerPlugin
- java.lang.Object
-
- org.opends.server.api.plugin.DirectoryServerPlugin<PluginCfg>
-
- org.opends.server.api.plugin.InternalDirectoryServerPlugin
-
- Direct Known Subclasses:
AuthenticatedUsers
,CryptoManagerSync
,GroupManager
,MultimasterReplication.CleanStaleHistoricalMetadataPlugin
,SubentryManager
public abstract class InternalDirectoryServerPlugin extends DirectoryServerPlugin<PluginCfg>
An internal directory server plugin which can be registered with the server without requiring any associated configuration.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InternalDirectoryServerPlugin(Dn componentDN, ServerContext serverContext, Set<PluginType> pluginTypes)
Creates a new internal directory server plugin using the provided component name and plugin types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initializePlugin(Set<PluginType> pluginTypes, PluginCfg configuration)
Performs any initialization necessary for this plugin.boolean
isConfigurationAcceptable(PluginCfg configuration, List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this plugin.-
Methods inherited from class org.opends.server.api.plugin.DirectoryServerPlugin
doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, doPostCommit, doPostCommit, doPostCommit, doPostCommit, doPostConnect, doPostDisconnect, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doShutdown, doStartup, finalizePlugin, getPluginEntryDN, getPluginTypes, getServerContext, initializeInternal, invokeForInternalOperations, processIntermediateResponse, processSearchEntry, processSearchReference, processSubordinateDelete, processSubordinateModifyDN, setInvokeForInternalOperations
-
-
-
-
Constructor Detail
-
InternalDirectoryServerPlugin
protected InternalDirectoryServerPlugin(Dn componentDN, ServerContext serverContext, Set<PluginType> pluginTypes)
Creates a new internal directory server plugin using the provided component name and plugin types.- Parameters:
componentDN
- The configuration entry name of the component associated with this internal plugin.serverContext
- The server context.pluginTypes
- The set of plugin types for which this internal plugin is registered.
-
-
Method Detail
-
initializePlugin
public final void initializePlugin(Set<PluginType> pluginTypes, PluginCfg configuration)
Description copied from class:DirectoryServerPlugin
Performs any initialization necessary for this plugin. This will be called as soon as the plugin has been loaded and before it is registered with the server.- Specified by:
initializePlugin
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
pluginTypes
- The set of plugin types that indicate the ways in which this plugin will be invoked.configuration
- The configuration for this plugin.
-
isConfigurationAcceptable
public final boolean isConfigurationAcceptable(PluginCfg configuration, List<LocalizableMessage> unacceptableReasons)
Description copied from class:DirectoryServerPlugin
Indicates whether the provided configuration is acceptable for this plugin. It should be possible to call this method on an uninitialized plugin instance in order to determine whether the plugin would be able to use the provided configuration.- Overrides:
isConfigurationAcceptable
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
configuration
- The plugin configuration for which to make the determination.unacceptableReasons
- A list that may be used to hold the reasons that the provided configuration is not acceptable.- Returns:
true
if the provided configuration is acceptable for this plugin, orfalse
if not.
-
-