From 64afb3e53f74b2ec78cacb377858cb092e3a4e9b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 16 Aug 2007 00:36:48 +0000
Subject: [PATCH] Update package-info.java files to include the @PublicAPI annotation to indicate whether any or all of the classes in that package are intended to be part of the public API. Further, mark all classes that we intend to be part of the public API with the @PublicAPI annotation to indicate the ways in which they may be used. Note that the use of these annotations and the ultimate determination as to what is in our public API and the ways in which those elements may be used still needs to be carefully reviewed before the 1.0 release.
---
opendj-sdk/opends/src/server/org/opends/server/api/ExtendedOperationHandler.java | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/ExtendedOperationHandler.java b/opendj-sdk/opends/src/server/org/opends/server/api/ExtendedOperationHandler.java
index a102344..3c4efaa 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/ExtendedOperationHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/ExtendedOperationHandler.java
@@ -50,22 +50,19 @@
* @param <T> The configuration class that will be provided to
* initialize the handler.
*/
+@org.opends.server.types.PublicAPI(
+ stability=org.opends.server.types.StabilityLevel.VOLATILE,
+ mayInstantiate=false,
+ mayExtend=true,
+ mayInvoke=false)
public abstract class
ExtendedOperationHandler<T extends ExtendedOperationHandlerCfg>
{
- /**
- * The default set of supported control OIDs for this extended
- * operation.
- */
- protected Set<String> supportedControlOIDs = new HashSet<String>(0);
+ // The default set of supported control OIDs for this extended
+ private Set<String> supportedControlOIDs = new HashSet<String>(0);
-
-
- /**
- * The default set of supported feature OIDs for this extended
- * operation.
- */
- protected Set<String> supportedFeatureOIDs = new HashSet<String>(0);
+ // The default set of supported feature OIDs for this extended
+ private Set<String> supportedFeatureOIDs = new HashSet<String>(0);
@@ -211,6 +208,8 @@
return getSupportedFeatures().contains(featureOID);
}
+
+
/**
* If the extended operation handler defines any supported controls
* and/or features, then register them with the server.
@@ -238,6 +237,7 @@
}
+
/**
* If the extended operation handler defines any supported controls
* and/or features, then deregister them with the server.
--
Gitblit v1.10.0