321N/A * The contents of this file are subject to the terms of the 321N/A * Common Development and Distribution License, Version 1.0 only 321N/A * (the "License"). You may not use this file except in compliance 321N/A * You can obtain a copy of the license at 321N/A * See the License for the specific language governing permissions 321N/A * and limitations under the License. 321N/A * When distributing Covered Code, include this CDDL HEADER in each 321N/A * file and include the License file at 321N/A * add the following below this CDDL HEADER, with the fields enclosed 873N/A * by brackets "[]" replaced with your own identifying information: 321N/A * Portions Copyright [yyyy] [name of copyright owner] 3232N/A * Copyright 2006-2008 Sun Microsystems, Inc. 321N/A * This class defines a very simple plugin that simply increments a counter each 321N/A * time a plugin is called. There will be separate counters for each basic 321N/A * type of plugin, including: 321N/A * <LI>pre-operation</LI> 321N/A * <LI>post-operation</LI> 321N/A * <LI>post-response</LI> 321N/A * <LI>search result entry</LI> 321N/A * <LI>search result reference</LI> 321N/A * <LI>intermediate response</LI> 321N/A * <LI>post-connect</LI> 321N/A * <LI>post-disconnect</LI> 321N/A // Define the counters that will be used to keep track of everything. 321N/A * Creates a new instance of this Directory Server plugin. Every 321N/A * plugin must implement a default constructor (it is the only one 321N/A * that will be used to create plugins defined in the 321N/A * configuration), and every plugin constructor must call 321N/A * <CODE>super()</CODE> as its first element. 321N/A // No implementation required. 321N/A * Retrieves the number of times that the pre-parse plugins have been called 321N/A * since the last reset. 321N/A * @return The number of times that the pre-parse plugins have been called 321N/A * since the last reset. 321N/A * Resets the pre-parse plugin invocation count to zero. 321N/A * @return The pre-parse plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the pre-operation plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times that the pre-operation plugins have been 321N/A * called since the last reset. 321N/A * Resets the pre-operation plugin invocation count to zero. 321N/A * @return The pre-operation plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the post-operation plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times that the post-operation plugins have been 321N/A * called since the last reset. 321N/A * Resets the post-operation plugin invocation count to zero. 321N/A * @return The post-operation plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the post-response plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times that the post-response plugins have been 321N/A * called since the last reset. 321N/A * Resets the post-response plugin invocation count to zero. 321N/A * @return The post-response plugin invocation count before it was reset. 2439N/A * Retrieves the number of times that the post-synchronization plugins have 2439N/A * been called since the last reset. 2439N/A * @return The number of times that the post-synchronization plugins have 2439N/A * been called since the last reset. 2439N/A * Resets the post-synchronization plugin invocation count to zero. 2439N/A * @return The post-synchronization plugin invocation count before it was 321N/A * Retrieves the number of times that the search result entry plugins have 321N/A * been called since the last reset. 321N/A * @return The number of times that the search result entry plugins have been 321N/A * called since the last reset. 321N/A * Resets the search result entry plugin invocation count to zero. 321N/A * @return The search result entry plugin invocation count before it was 321N/A * Retrieves the number of times that the search result reference plugins have 321N/A * been called since the last reset. 321N/A * @return The number of times that the search result reference plugins have 321N/A * been called since the last reset. 321N/A * Resets the search result reference plugin invocation count to zero. 321N/A * @return The search result reference plugin invocation count before it was 2031N/A * Retrieves the number of times the subordinate modify DN plugins have been 2031N/A * called since the last reset. 2031N/A * @return The number of times the subordinate modify DN plugins have been 2031N/A * called since the last reset. 2031N/A * Resets the subordinate modify DN plugin invocation count to zero. 2031N/A * @return The subordinate modify DN plugin invocation count before it was 321N/A * Retrieves the number of times the intermediate response plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times the intermediate response plugins have been 321N/A * called since the last reset. 321N/A * Resets the intermediate response plugin invocation count to zero. 321N/A * @return The intermediate response plugin invocation count before it was 321N/A * Retrieves the number of times that the post-connect plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times that the post-connect plugins have been called 321N/A * since the last reset. 321N/A * Resets the post-connect plugin invocation count to zero. 321N/A * @return The post-connect plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the post-disconnect plugins have been 321N/A * called since the last reset. 321N/A * @return The number of times that the post-disconnect plugins have been 321N/A * called since the last reset. 321N/A * Resets the post-disconnect plugin invocation count to zero. 321N/A * @return The post-disconnect plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the LDIF import plugins have been called 321N/A * since the last reset. 321N/A * @return The number of times that the LDIF import plugins have been called 321N/A * since the last reset. 321N/A * Resets the LDIF import plugin invocation count to zero. 321N/A * @return The LDIF import plugin invocation count before it was reset. 321N/A * Retrieves the number of times that the LDIF export plugins have been called 321N/A * since the last reset. 321N/A * @return The number of times that the LDIF export plugins have been called 321N/A * since the last reset. 321N/A * Resets the LDIF export plugin invocation count to zero. 321N/A * @return The LDIF export plugin invocation count before it was reset. 321N/A * Resets all of the invocation counters. This does not impact the startup 321N/A * Indicates whether the server startup plugins have been called. 321N/A * @return <CODE>true</CODE> if the server startup plugins have been called, 321N/A * or <CODE>false</CODE> if not. 321N/A * Resets the flag that indicates whether the startup plugins have been 321N/A * Indicates whether the server shutdown plugins have been called. 321N/A * @return <CODE>true</CODE> if the server shutdown plugins have been called, 321N/A * or <CODE>false</CODE> if not. 321N/A * Resets the flag that indicates whether the shutdown plugins have been 389N/A * Waits up to five seconds until the post-response plugins have been called 389N/A * at least once since the last reset. 389N/A * @return The number of times that the post-response plugins have been 389N/A * called since the last reset. The return value may be zero if the 389N/A * @throws InterruptedException If another thread interrupts this thread.