felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r567999 - /felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java
Date Tue, 21 Aug 2007 07:55:15 GMT
Author: cziegeler
Date: Tue Aug 21 00:55:15 2007
New Revision: 567999

URL: http://svn.apache.org/viewvc?rev=567999&view=rev
Log:
Pass bundle context to create method.

Modified:
    felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java

Modified: felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java?rev=567999&r1=567998&r2=567999&view=diff
==============================================================================
--- felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java
(original)
+++ felix/trunk/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/Activator.java
Tue Aug 21 00:55:15 2007
@@ -225,7 +225,8 @@
 
         m_syncQueue = new TaskHandler();
 
-        m_admin = createEventAdmin(handlerTasks,
+        m_admin = createEventAdmin(context,
+            handlerTasks,
             createAsyncExecuters(m_asyncQueue, m_syncQueue, scheduler, m_pool),
             createSyncExecuters(m_syncQueue, scheduler, m_pool));
 
@@ -295,12 +296,14 @@
 
     /**
      * Create a event admin implementation.
+     * @param context      The bundle context
      * @param handlerTasks
      * @param asyncExecuters
      * @param syncExecuters
      * @return
      */
-    protected EventAdminImpl createEventAdmin(HandlerTasks handlerTasks,
+    protected EventAdminImpl createEventAdmin(BundleContext context,
+                                              HandlerTasks handlerTasks,
                                               DeliverTasks asyncExecuters,
                                               DeliverTasks syncExecuters)
     {



Mime
View raw message