| | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.api.plugin.PreOperationPluginResult; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | |
| | | * whenever the entry is modified or renamed. |
| | | */ |
| | | public final class LastModPlugin |
| | | extends DirectoryServerPlugin |
| | | extends DirectoryServerPlugin<PluginCfg> |
| | | { |
| | | |
| | | |
| | | |
| | | // The attribute type for the "createTimestamp" attribute. |
| | | private final AttributeType createTimestampType; |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | ConfigEntry configEntry) |
| | | PluginCfg configuration) |
| | | throws ConfigException |
| | | { |
| | | // Make sure that the plugin has been enabled for the appropriate types. |