From e1ea3e0d8999105f144d2be98e0286928b8319ed Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 03 Apr 2007 18:52:11 +0000
Subject: [PATCH] Add initial support for a virtual attribute subsystem, and implement a few different kinds of virtual attributes. This commit addresses the following issues:
---
opends/src/server/org/opends/server/backends/MonitorBackend.java | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/MonitorBackend.java b/opends/src/server/org/opends/server/backends/MonitorBackend.java
index 169b6c8..ef39963 100644
--- a/opends/src/server/org/opends/server/backends/MonitorBackend.java
+++ b/opends/src/server/org/opends/server/backends/MonitorBackend.java
@@ -92,9 +92,6 @@
extends Backend
implements ConfigurableComponent
{
-
-
-
// The set of user-defined attributes that will be included in the base
// monitor entry.
private ArrayList<Attribute> userDefinedAttributes;
@@ -128,8 +125,6 @@
{
super();
-
-
// Perform all initialization in initializeBackend.
}
@@ -640,8 +635,10 @@
// Construct and return the entry.
- return new Entry(baseMonitorDN, monitorClasses, monitorUserAttrs,
- monitorOperationalAttrs);
+ Entry e = new Entry(baseMonitorDN, monitorClasses, monitorUserAttrs,
+ monitorOperationalAttrs);
+ e.processVirtualAttributes();
+ return e;
}
@@ -706,8 +703,10 @@
}
}
- return new Entry(entryDN, monitorClasses, attrMap,
- new HashMap<AttributeType,List<Attribute>>(0));
+ Entry e = new Entry(entryDN, monitorClasses, attrMap,
+ new HashMap<AttributeType,List<Attribute>>(0));
+ e.processVirtualAttributes();
+ return e;
}
--
Gitblit v1.10.0