incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r790518 - /sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java
Date Thu, 02 Jul 2009 09:27:15 GMT
Author: cziegeler
Date: Thu Jul  2 09:27:15 2009
New Revision: 790518

URL: http://svn.apache.org/viewvc?rev=790518&view=rev
Log:
SLING-1031 : Send events when a new adapter factory is added or an old one is removed.

Modified:
    sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java

Modified: sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java?rev=790518&r1=790517&r2=790518&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java
(original)
+++ sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/internal/AdapterManagerImpl.java
Thu Jul  2 09:27:15 2009
@@ -340,7 +340,7 @@
             final Dictionary<String, Object> props = new Hashtable<String, Object>();
             props.put(SlingConstants.PROPERTY_ADAPTABLE_CLASSES, adaptables);
             props.put(SlingConstants.PROPERTY_ADAPTER_CLASSES, adapters);
-            localEA.postEvent(new Event(SlingConstants.TOPIC_ADAPTER_FACTORY_ADDED,
+            localEA.postEvent(new Event(SlingConstants.TOPIC_ADAPTER_FACTORY_REMOVED,
                     props));
         }
     }



Mime
View raw message