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/plugin/DirectoryServerPlugin.java | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java b/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
index ce796e0..f99b60d 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
@@ -59,6 +59,11 @@
*
* @param <T> The type of configuration handled by this plugin.
*/
+@org.opends.server.types.PublicAPI(
+ stability=org.opends.server.types.StabilityLevel.UNCOMMITTED,
+ mayInstantiate=false,
+ mayExtend=true,
+ mayInvoke=false)
public abstract class DirectoryServerPlugin
<T extends PluginCfg>
{
@@ -75,7 +80,7 @@
* plugin must implement a default constructor (it is the only one
* that will be used to create plugins defined in the
* configuration), and every plugin constructor must call
- * <CODE>super()</CODE> as its first element.
+ * {@code super()} as its first action.
*/
protected DirectoryServerPlugin()
{
@@ -118,6 +123,11 @@
* @param pluginTypes The set of plugin types for which this
* plugin is registered.
*/
+ @org.opends.server.types.PublicAPI(
+ stability=org.opends.server.types.StabilityLevel.PRIVATE,
+ mayInstantiate=false,
+ mayExtend=false,
+ mayInvoke=false)
public final void initializeInternal(DN pluginDN,
Set<PluginType> pluginTypes)
{
@@ -253,7 +263,7 @@
* @param disconnectReason The disconnect reason for the closure.
* @param message A message providing additional
* information about the closure, or
- * <CODE>null</CODE> if there is none.
+ * {@code null} if there is none.
*
* @return The result of the plugin processing.
*/
--
Gitblit v1.10.0