You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/08/17 13:38:39 UTC

svn commit: r567026 - in /myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring: BeanDefinitionConversationNameAttrDecorator.java OrchestraNamespaceHandler.java

Author: skitching
Date: Fri Aug 17 04:38:38 2007
New Revision: 567026

URL: http://svn.apache.org/viewvc?view=rev&rev=567026
Log:
Add javadoc only.

Modified:
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/OrchestraNamespaceHandler.java

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java?view=diff&rev=567026&r1=567025&r2=567026
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java Fri Aug 17 04:38:38 2007
@@ -23,6 +23,14 @@
 import org.springframework.beans.factory.config.BeanDefinitionHolder;
 import org.w3c.dom.Node;
 
+/**
+ * Invoked by Spring when a bean definition is found in its config file which has an
+ * xml attribute called "conversationName" in the orchestra namespace.
+ * <p>
+ * The value of the xml attribute is simply copied onto the BeanDefinition object.
+ * <p>
+ * See also class OrchestraNamespaceHandler.
+ */
 public class BeanDefinitionConversationNameAttrDecorator implements BeanDefinitionDecorator
 {
 	public final static String XSD_CONVERSATION_NAME_ATTRIBUTE = "conversationName"; // NON-NLS

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/OrchestraNamespaceHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/OrchestraNamespaceHandler.java?view=diff&rev=567026&r1=567025&r2=567026
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/OrchestraNamespaceHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/OrchestraNamespaceHandler.java Fri Aug 17 04:38:38 2007
@@ -21,8 +21,9 @@
 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
 
 /**
- * wire the custom namespace "orchestra" to its parser to allow to configure
- * further Orchestra aspects.
+ * Wire the custom namespace "orchestra" to its parser to allow to configure
+ * further Orchestra aspects. Handler objects are registered with spring that will
+ * be invoked whenever specific xml attributes are encountered in the bean definitions.
  */
 public class OrchestraNamespaceHandler extends NamespaceHandlerSupport
 {