Author: asoldano
Date: 2013-12-02 17:24:36 -0500 (Mon, 02 Dec 2013)
New Revision: 18115
Modified:
spi/branches/JBWS-3739/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedHandlerChainsMetaData.java
Log:
Adding a constructor to UnifiedHandlerChainsMetaData
Modified:
spi/branches/JBWS-3739/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedHandlerChainsMetaData.java
===================================================================
---
spi/branches/JBWS-3739/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedHandlerChainsMetaData.java 2013-12-02
22:13:26 UTC (rev 18114)
+++
spi/branches/JBWS-3739/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedHandlerChainsMetaData.java 2013-12-02
22:24:36 UTC (rev 18115)
@@ -22,6 +22,7 @@
package org.jboss.wsf.spi.metadata.j2ee.serviceref;
import java.io.Serializable;
+import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -35,6 +36,11 @@
private static final long serialVersionUID = -4983482217732535558L;
private final List<UnifiedHandlerChainMetaData> handlerChains;
+
+ public UnifiedHandlerChainsMetaData(UnifiedHandlerChainMetaData... handlerChains)
+ {
+ this(handlerChains != null ? Arrays.asList(handlerChains) : null);
+ }
public UnifiedHandlerChainsMetaData(List<UnifiedHandlerChainMetaData>
handlerChains)
{
Show replies by date