geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r541320 - /geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java
Date Thu, 24 May 2007 15:17:28 GMT
Author: gawor
Date: Thu May 24 08:17:27 2007
New Revision: 541320

URL: http://svn.apache.org/viewvc?view=rev&rev=541320
Log:
pass other handler-chains params

Modified:
    geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java

Modified: geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java?view=diff&rev=541320&r1=541319&r2=541320
==============================================================================
--- geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java
(original)
+++ geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/HandlerChainAnnotationHelper.java
Thu May 24 08:17:27 2007
@@ -221,6 +221,15 @@
                             ServiceRefHandlerChainsType serviceRefHandlerChains = serviceRef.addNewHandlerChains();
                             for (HandlerChainType handlerChain : handlerChains.getHandlerChainArray())
{
                                 ServiceRefHandlerChainType serviceRefHandlerChain = serviceRefHandlerChains.addNewHandlerChain();
+                                if (handlerChain.getPortNamePattern() != null) {
+                                    serviceRefHandlerChain.setPortNamePattern(handlerChain.getPortNamePattern());
+                                }
+                                if (handlerChain.getServiceNamePattern() != null) {
+                                    serviceRefHandlerChain.setServiceNamePattern(handlerChain.getServiceNamePattern());
+                                }
+                                if (handlerChain.getProtocolBindings() != null) {
+                                    serviceRefHandlerChain.setProtocolBindings(handlerChain.getProtocolBindings());
+                                }
                                 for ( PortComponentHandlerType handler : handlerChain.getHandlerArray())
{
                                     ServiceRefHandlerType serviceRefHandler = serviceRefHandlerChain.addNewHandler();
                                     serviceRefHandler.setHandlerName(handler.getHandlerName());



Mime
View raw message