From 95df5cfdba474acb03076953e992b898fbb277a8 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 02 Feb 2009 23:37:54 +0000
Subject: [PATCH] Fix issue 3734 - Make network group policies extensible.
---
opends/src/server/org/opends/server/api/QOSPolicy.java | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/networkgroups/NetworkGroupPolicy.java b/opends/src/server/org/opends/server/api/QOSPolicy.java
similarity index 67%
rename from opends/src/server/org/opends/server/core/networkgroups/NetworkGroupPolicy.java
rename to opends/src/server/org/opends/server/api/QOSPolicy.java
index ec0d10b..d02ec5d 100644
--- a/opends/src/server/org/opends/server/core/networkgroups/NetworkGroupPolicy.java
+++ b/opends/src/server/org/opends/server/api/QOSPolicy.java
@@ -22,25 +22,35 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2009 Sun Microsystems, Inc.
*/
-package org.opends.server.core.networkgroups;
+
+package org.opends.server.api;
+
/**
- * This class defines the network group policy. A client connection
- * that belongs to a network group has to comply with the policies
- * attach to the network group.
+ * An abstract QOS policy.
*/
-public class NetworkGroupPolicy
+public abstract class QOSPolicy
{
-
/**
- * Creates a new instance of the network group policy.
+ * Creates a new abstract QOS Policy.
*/
- public NetworkGroupPolicy()
+ protected QOSPolicy()
{
- // No implementation is required.
+ // No implementation required.
}
+
+
+ /**
+ * Performs any necessary work to finalize this QOS policy.
+ * <p>
+ * The default implementation is to do nothing.
+ */
+ public void finalizeQOSPolicy()
+ {
+ // Do nothing by default.
+ }
}
--
Gitblit v1.10.0