directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gokt...@apache.org
Subject svn commit: r1338640 - in /directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api: component/DirectoryComponent.java meta/DCPropertyDescription.java
Date Tue, 15 May 2012 11:03:03 GMT
Author: gokturk
Date: Tue May 15 11:03:03 2012
New Revision: 1338640

URL: http://svn.apache.org/viewvc?rev=1338640&view=rev
Log:
* Implemented immutable property change detection in ComponentHubImpl, to re-instantiate a
component, when onw of its immutable property is changed while it is active.

Modified:
    directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DirectoryComponent.java
    directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/meta/DCPropertyDescription.java

Modified: directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DirectoryComponent.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DirectoryComponent.java?rev=1338640&r1=1338639&r2=1338640&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DirectoryComponent.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DirectoryComponent.java
Tue May 15 11:03:03 2012
@@ -25,8 +25,6 @@ import java.util.ArrayList;
 import java.util.List;
 
 
-
-
 public class DirectoryComponent
 {
     private String componentManagerPID;
@@ -97,7 +95,7 @@ public class DirectoryComponent
 
     public String getComponentPID()
     {
-        return componentManagerPID + "-" + getComponentName();
+        return componentManagerPID + "[" + getComponentName() + "]";
     }
 
 

Modified: directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/meta/DCPropertyDescription.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/meta/DCPropertyDescription.java?rev=1338640&r1=1338639&r2=1338640&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/meta/DCPropertyDescription.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/meta/DCPropertyDescription.java
Tue May 15 11:03:03 2012
@@ -90,6 +90,12 @@ public class DCPropertyDescription
     }
 
 
+    public boolean isImmutable()
+    {
+        return immutable;
+    }
+
+
     public String getContainerFor()
     {
         return containerFor;



Mime
View raw message