[CONF] Confluence Changes in the last 24 hours

2007-08-18 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX
|
|-Pages Added or Edited in This Space
 |-- iPOJO was last edited by clement.escoffier (12:56 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/iPOJO
 |-- Controller Lifecycle Handler was created by clement.escoffier (12:38 AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/Controller+Lifecycle+Handler
 |-- Architecture Handler was last edited by clement.escoffier (12:20 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Architecture+Handler
 |-- Configuration Handler was last edited by clement.escoffier (12:15 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Configuration+Handler
 |-- How to use iPOJO Annotations was last edited by clement.escoffier (12:15 
AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/How+to+use+iPOJO+Annotations
 |-- Service Requirement Handler was last edited by clement.escoffier (12:10 
AM).
 |   
http://cwiki.apache.org/confluence/display/FELIX/Service+Requirement+Handler
 |-- Handlers Documentation was last edited by clement.escoffier (12:10 AM).
 |   http://cwiki.apache.org/confluence/display/FELIX/Handlers+Documentation

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- Camel 1.1.0 Release was last edited by jstrachan (11:57 PM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Camel+1.1.0+Release
 |-- Podcast on Apache Camel and EIP was created by jstrachan (11:40 PM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/2007/08/17/Podcast+on+Apache+Camel+and+EIP
 |-- Apache Camel 1.1.0 Released! was created by jstrachan (11:37 PM).
 |   
http://cwiki.apache.org/confluence/display/CAMEL/2007/08/17/Apache+Camel+1.1.0+Released%21
 |-- Camel Dot Maven Goal was created by jstrachan (12:57 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Camel+Dot+Maven+Goal
 |-- Camel Maven Plugin was last edited by jstrachan (01:35 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Camel+Maven+Plugin
 |-- Camel Embedded Maven Goal was created by jstrachan (12:57 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Camel+Embedded+Maven+Goal
 |-- Camel Run Maven Goal was created by jstrachan (12:57 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Camel+Run+Maven+Goal
 |-- Visualisation was last edited by jstrachan (12:36 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Visualisation
 |-- JavaDoc was last edited by jstrachan (12:20 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/JavaDoc

Infrastructure (INFRA) http://cwiki.apache.org/confluence/display/INFRA
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by dblevins (06:37 PM).
 |   http://cwiki.apache.org/confluence/display/INFRA/Index

OpenEJB (OPENEJB) http://cwiki.apache.org/confluence/display/OPENEJB
|
|-Pages Added or Edited in This Space
 |-- HomeLinks was last edited by dblevins (07:23 PM).
 |   http://cwiki.apache.org/confluence/display/OPENEJB/HomeLinks
 |-- JNDI Name Config was last edited by dblevins (07:19 PM).
 |   http://cwiki.apache.org/confluence/display/OPENEJB/JNDI+Name+Config
 |-- Navigation was last edited by dblevins (07:17 PM).
 |   http://cwiki.apache.org/confluence/display/OPENEJB/Navigation
 |-- Geronimo was last edited by dblevins (06:07 PM).
 |   http://cwiki.apache.org/confluence/display/OPENEJB/Geronimo

Apache Struts 2 Plugin Registry (S2PLUGINS) 
http://cwiki.apache.org/confluence/display/S2PLUGINS
|
|-Pages Added or Edited in This Space
 |-- JSCalendar 0.2 Plugin Released was created by [EMAIL PROTECTED] (08:11 AM).
 |   
http://cwiki.apache.org/confluence/display/S2PLUGINS/2007/08/17/JSCalendar+0.2+Plugin+Released

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- servicemix-jms new endpoints was created by gnodet (07:04 AM).
 |   http://cwiki.apache.org/confluence/display/SM/servicemix-jms+new+endpoints
 |-- Component Matrix was last edited by gnodet (07:17 AM).
 |   http://cwiki.apache.org/confluence/display/SM/Component+Matrix
 |-- ServiceMix Components was last edited by gnodet (06:06 AM).
 |   http://cwiki.apache.org/confluence/display/SM/ServiceMix+Components
 |-- 2.4. Beginner - Configuring the servicemix-file SU was last edited by 
[EMAIL PROTECTED] (04:07 AM).
 |   
http://cwiki.apache.org/confluence/display/SM/2.4.+Beginner+-+Configuring+the+servicemix-file+SU
 |-- 2.6. Beginner - Exercise was last edited by [EMAIL PROTECTED] (04:04 AM).
 |   http://cwiki.apache.org/confluence/display/SM/2.6.+Beginner+-+Exercise
 |-- servicemix-wsn2005 was last edited by gnodet (03:53 AM).
 |   http://cwiki.apache.or

svn commit: r567318 - in /struts/struts1/trunk/core/src/main/java/org/apache/struts: action/ActionServlet.java config/ModuleConfigPostProcessor.java

2007-08-18 Thread pbenedict
Author: pbenedict
Date: Sat Aug 18 12:34:50 2007
New Revision: 567318

URL: http://svn.apache.org/viewvc?view=rev&rev=567318
Log:
STR-3085: Enhance post-processing by adding before/after events for child 
configs

Modified:

struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java

struts/struts1/trunk/core/src/main/java/org/apache/struts/config/ModuleConfigPostProcessor.java

Modified: 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java?view=diff&rev=567318&r1=567317&r2=567318
==
--- 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
 (original)
+++ 
struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
 Sat Aug 18 12:34:50 2007
@@ -42,6 +42,7 @@
 import org.apache.struts.Globals;
 import org.apache.struts.chain.ComposableRequestProcessor;
 import org.apache.struts.config.ActionConfig;
+import org.apache.struts.config.BaseConfig;
 import org.apache.struts.config.ConfigRuleSet;
 import org.apache.struts.config.ExceptionConfig;
 import org.apache.struts.config.FormBeanConfig;
@@ -56,7 +57,6 @@
 import org.apache.struts.util.MessageResourcesFactory;
 import org.apache.struts.util.ModuleUtils;
 import org.apache.struts.util.RequestUtils;
-import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 
 import javax.servlet.ServletContext;
@@ -68,14 +68,10 @@
 
 import java.io.IOException;
 import java.io.InputStream;
-
 import java.math.BigDecimal;
 import java.math.BigInteger;
-
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.net.URLConnection;
-
 import java.util.ArrayList;
 import java.util.Enumeration;
 import java.util.Iterator;
@@ -365,7 +361,7 @@
 initModuleForwards(moduleConfig);
 initModuleExceptionConfigs(moduleConfig);
 initModuleActions(moduleConfig);
-postProcessModule(moduleConfig);
+postProcessConfig(moduleConfig);
 moduleConfig.freeze();
 
 Enumeration names = getServletConfig().getInitParameterNames();
@@ -388,7 +384,7 @@
 initModuleForwards(moduleConfig);
 initModuleExceptionConfigs(moduleConfig);
 initModuleActions(moduleConfig);
-postProcessModule(moduleConfig);
+postProcessConfig(moduleConfig);
 moduleConfig.freeze();
 }
 
@@ -896,22 +892,7 @@
 }
 }
 }
-
-protected void postProcessModule(ModuleConfig moduleConfig) {
-String plugInKey = Globals.PLUG_INS_KEY + moduleConfig.getPrefix(); 
-PlugIn[] plugIns = (PlugIn[]) 
getServletContext().getAttribute(plugInKey);
-if ((plugIns == null) || (plugIns.length == 0)) {
-log.debug("No plugins to attempt post processing");
-}
-
-for (int i = 0; i < plugIns.length; i++) {
-PlugIn plugIn = plugIns[i];
-if (plugIn instanceof ModuleConfigPostProcessor) {
-((ModuleConfigPostProcessor) 
plugIn).postProcessModule(moduleConfig);
-}
-}
-}
-
+
 /**
  * Initialize the form beans for the specified module.
  *
@@ -932,7 +913,9 @@
 for (int i = 0; i < formBeans.length; i++) {
 FormBeanConfig beanConfig = formBeans[i];
 
+postProcessConfig(beanConfig, config, true);
 processFormBeanExtension(beanConfig, config);
+postProcessConfig(beanConfig, config, false);
 }
 
 for (int i = 0; i < formBeans.length; i++) {
@@ -1078,7 +1061,9 @@
 for (int i = 0; i < forwards.length; i++) {
 ForwardConfig forward = forwards[i];
 
+postProcessConfig(forward, config, true);
 processForwardExtension(forward, config, null);
+postProcessConfig(forward, config, false);
 }
 
 for (int i = 0; i < forwards.length; i++) {
@@ -1227,7 +1212,9 @@
 for (int i = 0; i < exceptions.length; i++) {
 ExceptionConfig exception = exceptions[i];
 
+postProcessConfig(exception, config, true);
 processExceptionExtension(exception, config, null);
+postProcessConfig(exception, config, false);
 }
 
 for (int i = 0; i < exceptions.length; i++) {
@@ -1374,6 +1361,10 @@
 for (int i = 0; i < actionConfigs.length; i++) {
 ActionConfig actionConfig = actionConfigs[i];
 
+postProcessConfig(actionConfig, config, true);
+processActionConfigExtension(actionConfig, config);
+postProcessConfig(actionConfig, config, false);
+
 // Verify the form, if specified, exists to help the developer
 // detect a possible typo. It is also