forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject svn commit: r224428 - /forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java
Date Sat, 23 Jul 2005 00:50:23 GMT
Author: twilliams
Date: Fri Jul 22 17:50:13 2005
New Revision: 224428

URL: http://svn.apache.org/viewcvs?rev=224428&view=rev
Log:
The SourceExistsSelector wasn't "serviced" when it was processed resulting in the resolver
never being set.  In SourceExistsSelector, this.resolver is set when the Component is serviced.


This means the LocationMap's ability to use a selector now works.  For more info, please see:

http://issues.apache.org/jira/browse/FOR-576

--tim

Modified:
    forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java

Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java?rev=224428&r1=224427&r2=224428&view=diff
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java (original)
+++ forrest/trunk/main/java/org/apache/forrest/locationmap/lm/LocationMap.java Fri Jul 22
17:50:13 2005
@@ -174,6 +174,7 @@
      * <p>
      *  supported component creation lifecycles that are:
      *  - LogEnabled
+     *  - Serviceable
      *  - Configurable
      *  - Initializable
      * </p>
@@ -183,6 +184,7 @@
         try {
             component = Class.forName(src).newInstance();
             ContainerUtil.enableLogging(component,getLogger());
+            ContainerUtil.service(component, m_manager);
             if (config != null) {
                 ContainerUtil.configure(component, config);
             }



Mime
View raw message