Package com.example.opendj
Class ExamplePlugin
- java.lang.Object
-
- org.opends.server.api.plugin.DirectoryServerPlugin<ExamplePluginCfg>
-
- com.example.opendj.ExamplePlugin
-
- All Implemented Interfaces:
org.forgerock.opendj.config.server.ConfigurationChangeListener<ExamplePluginCfg>
public class ExamplePlugin extends DirectoryServerPlugin<ExamplePluginCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<ExamplePluginCfg>
The example plugin implementation class. This plugin will output the configured message to the error log during server start up.
-
-
Constructor Summary
Constructors Constructor Description ExamplePlugin()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.opendj.config.server.ConfigChangeResult
applyConfigurationChange(ExamplePluginCfg config)
PluginResult.Startup
doStartup()
void
initializePlugin(Set<PluginType> pluginTypes, ExamplePluginCfg configuration)
boolean
isConfigurationChangeAcceptable(ExamplePluginCfg config, List<org.forgerock.i18n.LocalizableMessage> messages)
-
Methods inherited from class org.opends.server.api.plugin.DirectoryServerPlugin
doLDIFExport, doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, 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, finalizePlugin, getPluginEntryDN, getPluginTypes, getServerContext, initializeInternal, invokeForInternalOperations, isConfigurationAcceptable, processIntermediateResponse, processSearchEntry, processSearchReference, processSubordinateDelete, processSubordinateModifyDN, setInvokeForInternalOperations
-
-
-
-
Method Detail
-
initializePlugin
public void initializePlugin(Set<PluginType> pluginTypes, ExamplePluginCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
- Specified by:
initializePlugin
in classDirectoryServerPlugin<ExamplePluginCfg>
- Throws:
org.forgerock.opendj.config.server.ConfigException
InitializationException
-
doStartup
public PluginResult.Startup doStartup()
- Overrides:
doStartup
in classDirectoryServerPlugin<ExamplePluginCfg>
-
applyConfigurationChange
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(ExamplePluginCfg config)
- Specified by:
applyConfigurationChange
in interfaceorg.forgerock.opendj.config.server.ConfigurationChangeListener<ExamplePluginCfg>
-
isConfigurationChangeAcceptable
public boolean isConfigurationChangeAcceptable(ExamplePluginCfg config, List<org.forgerock.i18n.LocalizableMessage> messages)
- Specified by:
isConfigurationChangeAcceptable
in interfaceorg.forgerock.opendj.config.server.ConfigurationChangeListener<ExamplePluginCfg>
-
-