incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahrw...@apache.org
Subject svn commit: r919735 - /incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java
Date Sat, 06 Mar 2010 10:25:22 GMT
Author: mahrwald
Date: Sat Mar  6 10:25:22 2010
New Revision: 919735

URL: http://svn.apache.org/viewvc?rev=919735&view=rev
Log:
ARIES-221: Elaborate namespace handler responsibilities for decorating in the javadoc

Modified:
    incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java

Modified: incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java?rev=919735&r1=919734&r2=919735&view=diff
==============================================================================
--- incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java
(original)
+++ incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/NamespaceHandler.java
Sat Mar  6 10:25:22 2010
@@ -33,6 +33,19 @@
     
     Metadata parse(Element element, ParserContext context);
     
+    /**
+     * Process a child node of an enclosing blueprint component. 
+     * 
+     * If the decorator returns a new ComponentMetadata instance, then this namespace handler
must 
+     * ensure that existing interceptors are registered against the new instance if appropriate.
+     * 
+     * @param node The node associated with this NamespaceHandler that should be used to
decorate the enclosing 
+     * component
+     * @param component The enclosing blueprint component
+     * @param context The parser context
+     * @return The decorated component to be used instead of the original enclosing component.
This can of course be
+     * the original component.
+     */
     ComponentMetadata decorate(Node node, ComponentMetadata component, ParserContext context);
              
 }



Mime
View raw message