| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * A post-operation plugin result instance that indicates all |
| | | * processing was successful. |
| | | */ |
| | | public static final PostOperationPluginResult SUCCESS = |
| | | new PostOperationPluginResult(); |
| | | |
| | | |
| | | |
| | | // Indicates whether any further post-operation plugins should be |
| | | // invoked for this operation. |
| | | private boolean continuePluginProcessing; |
| | | private final boolean continuePluginProcessing; |
| | | |
| | | // Indicates whether the post-operation plugin terminated the client |
| | | // connection. |
| | | private boolean connectionTerminated; |
| | | private final boolean connectionTerminated; |
| | | |
| | | |
| | | |
| | |
| | | * not been terminated and that further post-operation plugin |
| | | * processing should be allowed. |
| | | */ |
| | | public PostOperationPluginResult() |
| | | private PostOperationPluginResult() |
| | | { |
| | | assert debugConstructor(CLASS_NAME); |
| | | |
| | | this.connectionTerminated = false; |
| | | this.continuePluginProcessing = true; |
| | | this(false, true); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * Specifies whether the post-operation plugin terminated the client |
| | | * connection. |
| | | * |
| | | * @param connectionTerminated Specifies whether the |
| | | * post-operation plugin terminated |
| | | * the client connection. |
| | | */ |
| | | public void setConnectionTerminated(boolean connectionTerminated) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "setConnectionTerminated", |
| | | String.valueOf(connectionTerminated)); |
| | | |
| | | this.connectionTerminated = connectionTerminated; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Indicates whether any further post-operation plugins should be |
| | | * invoked for this operation. |
| | | * |
| | |
| | | |
| | | |
| | | /** |
| | | * Specifies whether any further post-operation plugins should be |
| | | * invoked for this operation. |
| | | * |
| | | * @param continuePluginProcessing Specifies whether any further |
| | | * post-operation plugins should |
| | | * be invoked for this operation. |
| | | */ |
| | | public void setContinuePluginProcessing( |
| | | boolean continuePluginProcessing) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "setContinuePluginProcessing", |
| | | String.valueOf(continuePluginProcessing)); |
| | | |
| | | this.continuePluginProcessing = continuePluginProcessing; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves a string representation of this post-connect plugin |
| | | * result. |
| | | * |