| | |
| | | import org.opends.server.types.SearchResultReference; |
| | | |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import static org.opends.server.loggers.Debug.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugCought; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.Error.*; |
| | | import static org.opends.server.messages.ConfigMessages.*; |
| | | import static org.opends.server.messages.MessageHandler.*; |
| | |
| | | public class PluginConfigManager |
| | | implements ConfigChangeListener, ConfigAddListener, ConfigDeleteListener |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.core.PluginConfigManager"; |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | public PluginConfigManager() |
| | | { |
| | | assert debugConstructor(CLASS_NAME); |
| | | |
| | | pluginLock = new ReentrantLock(); |
| | | |
| | |
| | | public void initializePluginConfig(Set<PluginType> pluginTypes) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | assert debugEnter(CLASS_NAME, "initializePluginConfig"); |
| | | |
| | | |
| | | registeredPlugins.clear(); |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_CONFIG_BASE; |
| | | String message = getMessage(msgID, stackTraceToSingleLineString(e)); |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_ERROR_INTERACTING_WITH_PLUGIN_ENTRY; |
| | | String message = getMessage(msgID, String.valueOf(entryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | msgID = MSGID_CONFIG_PLUGIN_UNABLE_TO_DETERMINE_ENABLED_STATE; |
| | | String message = getMessage(msgID, String.valueOf(entryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_PLUGIN_TYPES; |
| | | String message = getMessage(msgID, String.valueOf(entryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_CLASS; |
| | | String message = getMessage(msgID, String.valueOf(entryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | msgID = MSGID_CONFIG_PLUGIN_CANNOT_INSTANTIATE; |
| | | String message = getMessage(msgID, String.valueOf(className), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "initializePluginConfig", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | msgID = MSGID_CONFIG_PLUGIN_CANNOT_INITIALIZE; |
| | | String message = getMessage(msgID, String.valueOf(className), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "finalizePlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | */ |
| | | public ConcurrentHashMap<DN,DirectoryServerPlugin> getRegisteredPlugins() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getRegisteredPlugins"); |
| | | |
| | | return registeredPlugins; |
| | | } |
| | |
| | | */ |
| | | public DirectoryServerPlugin getRegisteredPlugin(DN pluginDN) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getRegisteredPlugin", |
| | | String.valueOf(pluginDN)); |
| | | |
| | | return registeredPlugins.get(pluginDN); |
| | | } |
| | |
| | | public boolean configChangeIsAcceptable(ConfigEntry configEntry, |
| | | StringBuilder unacceptableReason) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "configChangeIsAcceptable", |
| | | String.valueOf(configEntry), "java.lang.StringBuilder"); |
| | | |
| | | |
| | | // Make sure that the entry has an appropriate objectclass for a plugin. |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "configChangeIsAcceptable", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_CLASS; |
| | | String message = getMessage(msgID, configEntry.getDN().toString(), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "configChangeIsAcceptable", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_CLASS; |
| | | String message = getMessage(msgID, configEntry.getDN().toString(), |
| | |
| | | } |
| | | catch(Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "configChangeIsAcceptable", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_INSTANTIATE; |
| | | String message = getMessage(msgID, pluginClass.getName(), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "configChangeIsAcceptable", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_UNABLE_TO_DETERMINE_ENABLED_STATE; |
| | | String message = getMessage(msgID, configEntry.getDN().toString(), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "configChangeIsAcceptable", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_PLUGIN_TYPES; |
| | | String message = getMessage(msgID, configEntry.getDN().toString(), |
| | |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange(ConfigEntry configEntry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "applyConfigurationChange", |
| | | String.valueOf(configEntry)); |
| | | |
| | | |
| | | DN configEntryDN = configEntry.getDN(); |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "applyConfigurationChange", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_UNABLE_TO_DETERMINE_ENABLED_STATE; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "applyConfigurationChange", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_PLUGIN_TYPES; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "applyConfigurationChange", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_GET_CLASS; |
| | | messages.add(getMessage(msgID, String.valueOf(configEntryDN), |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "applyConfigurationChange", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_INSTANTIATE; |
| | | messages.add(getMessage(msgID, className, |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "applyConfigurationChange", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_CONFIG_PLUGIN_CANNOT_INITIALIZE; |
| | | messages.add(getMessage(msgID, className, |
| | |
| | | public boolean configAddIsAcceptable(ConfigEntry configEntry, |
| | | StringBuilder unacceptableReason) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "configAddIsAcceptable", |
| | | String.valueOf(configEntry), "java.lang.StringBuilder"); |
| | | |
| | | |
| | | // NYI |
| | |
| | | */ |
| | | public ConfigChangeResult applyConfigurationAdd(ConfigEntry configEntry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "applyConfigurationAdd", |
| | | String.valueOf(configEntry)); |
| | | |
| | | |
| | | ResultCode resultCode = ResultCode.SUCCESS; |
| | |
| | | public boolean configDeleteIsAcceptable(ConfigEntry configEntry, |
| | | StringBuilder unacceptableReason) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "configDeleteIsAcceptable", |
| | | String.valueOf(configEntry), "java.lang.StringBuilder"); |
| | | |
| | | |
| | | // NYI |
| | |
| | | */ |
| | | public ConfigChangeResult applyConfigurationDelete(ConfigEntry configEntry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "applyConfigurationDelete", |
| | | String.valueOf(configEntry)); |
| | | |
| | | |
| | | ResultCode resultCode = ResultCode.SUCCESS; |
| | |
| | | private void registerPlugin(DirectoryServerPlugin plugin, DN pluginEntryDN, |
| | | HashSet<PluginType> pluginTypes) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "registerPlugin", |
| | | String.valueOf(plugin), String.valueOf(pluginTypes)); |
| | | |
| | | pluginLock.lock(); |
| | | |
| | |
| | | private DirectoryServerPlugin[] addPlugin(DirectoryServerPlugin[] pluginArray, |
| | | DirectoryServerPlugin plugin) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "addPlugin", String.valueOf(pluginArray), |
| | | String.valueOf(plugin)); |
| | | |
| | | DirectoryServerPlugin[] newPlugins = |
| | | new DirectoryServerPlugin[pluginArray.length+1]; |
| | |
| | | */ |
| | | private void deregisterPlugin(DN configEntryDN) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "deregisterPlugin", |
| | | String.valueOf(configEntryDN)); |
| | | |
| | | pluginLock.lock(); |
| | | |
| | |
| | | removePlugin(DirectoryServerPlugin[] pluginArray, |
| | | DirectoryServerPlugin plugin) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "addPlugin", String.valueOf(pluginArray), |
| | | String.valueOf(plugin)); |
| | | |
| | | int slot = -1; |
| | | int length = pluginArray.length; |
| | |
| | | */ |
| | | public StartupPluginResult invokeStartupPlugins() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeStartupPlugins"); |
| | | |
| | | |
| | | StartupPluginResult result = null; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeStartupPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_STARTUP_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | */ |
| | | public void invokeShutdownPlugins(String reason) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeShutdownPlugins", |
| | | String.valueOf(reason)); |
| | | |
| | | |
| | | for (DirectoryServerPlugin p : shutdownPlugins) |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeShutdownPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_SHUTDOWN_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | public PostConnectPluginResult invokePostConnectPlugins(ClientConnection |
| | | clientConnection) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostConnectPlugins", |
| | | String.valueOf(clientConnection)); |
| | | |
| | | |
| | | PostConnectPluginResult result = null; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostConnectPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_CONNECT_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | } |
| | | catch (Exception e2) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostConnectPlugins", e2); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e2); |
| | | } |
| | | } |
| | | |
| | | return new PostConnectPluginResult(true, false); |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostConnectPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | |
| | | return new PostConnectPluginResult(true, false); |
| | |
| | | DisconnectReason disconnectReason, |
| | | int messageID, String message) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostConnectPlugins", |
| | | String.valueOf(clientConnection)); |
| | | |
| | | |
| | | PostDisconnectPluginResult result = null; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostDisconnectPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_DISCONNECT_PLUGIN_EXCEPTION; |
| | | String msg = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | public LDIFPluginResult invokeLDIFImportPlugins(LDIFImportConfig importConfig, |
| | | Entry entry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeLDIFImportPlugins", |
| | | String.valueOf(importConfig), String.valueOf(entry)); |
| | | |
| | | LDIFPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeLDIFImportPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_LDIF_IMPORT_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | public LDIFPluginResult invokeLDIFExportPlugins(LDIFExportConfig exportConfig, |
| | | Entry entry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeLDIFExportPlugins", |
| | | String.valueOf(exportConfig), String.valueOf(entry)); |
| | | |
| | | LDIFPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeLDIFExportPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_LDIF_EXPORT_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | public PreParsePluginResult invokePreParseAbandonPlugins( |
| | | AbandonOperation abandonOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseAbandonPlugins", |
| | | String.valueOf(abandonOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseAbandonPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseAddPlugins(AddOperation |
| | | addOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseAddPlugins", |
| | | String.valueOf(addOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseAddPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseBindPlugins( |
| | | BindOperation bindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseBindPlugins", |
| | | String.valueOf(bindOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseBindPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseComparePlugins( |
| | | CompareOperation compareOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseComparePlugins", |
| | | String.valueOf(compareOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseComparePlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseDeletePlugins( |
| | | DeleteOperation deleteOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseDeletePlugins", |
| | | String.valueOf(deleteOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseDeletePlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseExtendedPlugins( |
| | | ExtendedOperation extendedOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseExtendedPlugins", |
| | | String.valueOf(extendedOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseExtendedPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseModifyPlugins( |
| | | ModifyOperation modifyOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseModifyPlugins", |
| | | String.valueOf(modifyOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseModifyPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseModifyDNPlugins( |
| | | ModifyDNOperation modifyDNOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseModifyDNPlugins", |
| | | String.valueOf(modifyDNOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseModifyDNPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseSearchPlugins( |
| | | SearchOperation searchOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseSearchPlugins", |
| | | String.valueOf(searchOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseSearchPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreParsePluginResult invokePreParseUnbindPlugins( |
| | | UnbindOperation unbindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreParseUnbindPlugins", |
| | | String.valueOf(unbindOperation)); |
| | | |
| | | PreParsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreParseUnbindPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_PARSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationAddPlugins( |
| | | AddOperation addOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationAddPlugins", |
| | | String.valueOf(addOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationAddPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationBindPlugins( |
| | | BindOperation bindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationBindPlugins", |
| | | String.valueOf(bindOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationBindPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationComparePlugins( |
| | | CompareOperation compareOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationComparePlugins", |
| | | String.valueOf(compareOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationComparePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationDeletePlugins( |
| | | DeleteOperation deleteOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationDeletePlugins", |
| | | String.valueOf(deleteOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationDeletePlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationExtendedPlugins( |
| | | ExtendedOperation extendedOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationExtendedPlugins", |
| | | String.valueOf(extendedOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationExtendedPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationModifyPlugins( |
| | | ModifyOperation modifyOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationModifyPlugins", |
| | | String.valueOf(modifyOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationModifyPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationModifyDNPlugins( |
| | | ModifyDNOperation modifyDNOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationModifyDNPlugins", |
| | | String.valueOf(modifyDNOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationModifyDNPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PreOperationPluginResult invokePreOperationSearchPlugins( |
| | | SearchOperation searchOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePreOperationSearchPlugins", |
| | | String.valueOf(searchOperation)); |
| | | |
| | | PreOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePreOperationSearchPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_PRE_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationAbandonPlugins( |
| | | AbandonOperation abandonOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationAbandonPlugins", |
| | | String.valueOf(abandonOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationAbandonPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationAddPlugins( |
| | | AddOperation addOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationAddPlugins", |
| | | String.valueOf(addOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationAddPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationBindPlugins( |
| | | BindOperation bindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationBindPlugins", |
| | | String.valueOf(bindOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationBindPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationComparePlugins( |
| | | CompareOperation compareOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationComparePlugins", |
| | | String.valueOf(compareOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationComparePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationDeletePlugins( |
| | | DeleteOperation deleteOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationDeletePlugins", |
| | | String.valueOf(deleteOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationDeletePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationExtendedPlugins( |
| | | ExtendedOperation extendedOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationExtendedPlugins", |
| | | String.valueOf(extendedOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationExtendedPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationModifyPlugins( |
| | | ModifyOperation modifyOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationModifyPlugins", |
| | | String.valueOf(modifyOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationModifyPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationModifyDNPlugins( |
| | | ModifyDNOperation modifyDNOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationModifyDNPlugins", |
| | | String.valueOf(modifyDNOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationModifyDNPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationSearchPlugins( |
| | | SearchOperation searchOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationSearchPlugins", |
| | | String.valueOf(searchOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationSearchPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostOperationPluginResult invokePostOperationUnbindPlugins( |
| | | UnbindOperation unbindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostOperationUnbindPlugins", |
| | | String.valueOf(unbindOperation)); |
| | | |
| | | PostOperationPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostOperationUnbindPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_OPERATION_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseAddPlugins( |
| | | AddOperation addOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseAddPlugins", |
| | | String.valueOf(addOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseAddPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseBindPlugins( |
| | | BindOperation bindOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseBindPlugins", |
| | | String.valueOf(bindOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseBindPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseComparePlugins( |
| | | CompareOperation compareOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseComparePlugins", |
| | | String.valueOf(compareOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseComparePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseDeletePlugins( |
| | | DeleteOperation deleteOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseDeletePlugins", |
| | | String.valueOf(deleteOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseDeletePlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseExtendedPlugins( |
| | | ExtendedOperation extendedOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseExtendedPlugins", |
| | | String.valueOf(extendedOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseExtendedPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseModifyPlugins( |
| | | ModifyOperation modifyOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseModifyPlugins", |
| | | String.valueOf(modifyOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseModifyPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseModifyDNPlugins( |
| | | ModifyDNOperation modifyDNOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseModifyDNPlugins", |
| | | String.valueOf(modifyDNOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseModifyDNPlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | public PostResponsePluginResult invokePostResponseSearchPlugins( |
| | | SearchOperation searchOperation) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokePostResponseSearchPlugins", |
| | | String.valueOf(searchOperation)); |
| | | |
| | | PostResponsePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokePostResponseSearchPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_POST_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = |
| | |
| | | SearchOperation searchOperation, |
| | | SearchResultEntry searchEntry) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeSearchResultEntryPlugins", |
| | | String.valueOf(searchOperation), |
| | | String.valueOf(searchEntry)); |
| | | |
| | | SearchEntryPluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeSearchResultEntryPlugins", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_SEARCH_ENTRY_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | SearchOperation searchOperation, |
| | | SearchResultReference searchReference) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeSearchResultReferencePlugins", |
| | | String.valueOf(searchOperation), |
| | | String.valueOf(searchReference)); |
| | | |
| | | SearchReferencePluginResult result = null; |
| | | |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeSearchResultReferencePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_SEARCH_REFERENCE_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |
| | |
| | | invokeIntermediateResponsePlugins( |
| | | IntermediateResponse intermediateResponse) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "invokeIntermediateResponsePlugins", |
| | | String.valueOf(intermediateResponse)); |
| | | |
| | | IntermediateResponsePluginResult result = null; |
| | | Operation operation = intermediateResponse.getOperation(); |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "invokeIntermediateResponsePlugins", |
| | | e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | |
| | | int msgID = MSGID_PLUGIN_INTERMEDIATE_RESPONSE_PLUGIN_EXCEPTION; |
| | | String message = getMessage(msgID, String.valueOf(p.getPluginEntryDN()), |