cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: rev 36567 - cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl
Date Wed, 18 Aug 2004 14:42:40 GMT
Author: unico
Date: Wed Aug 18 07:42:39 2004
New Revision: 36567

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/JMSEventMessageListener.java
Log:
lookup event aware

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/JMSEventMessageListener.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/JMSEventMessageListener.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/JMSEventMessageListener.java
Wed Aug 18 07:42:39 2004
@@ -73,6 +73,11 @@
         m_eventAwareRole = parameters.getParameter(EVENTCACHE_ROLE_PARAM, DEFAULT_EVENTCACHE_ROLE);
     }
 
+    public void initialize() throws Exception {
+        super.initialize();
+        m_eventCache = (EventAware) m_manager.lookup(m_eventAwareRole);
+    }
+
     public void dispose() {
         super.dispose();
         this.m_manager.release(m_eventCache);

Mime
View raw message