Author: alessio.soldano(a)jboss.com
Date: 2012-02-03 06:38:52 -0500 (Fri, 03 Feb 2012)
New Revision: 15585
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapper.java
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapperFactory.java
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/EndpointAssociation.java
Log:
[AS7-3581] Adding interfaces for allowing setting AS7 NamespaceContextSelector from CXF
stack
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/EndpointAssociation.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/EndpointAssociation.java 2012-02-03
08:28:22 UTC (rev 15584)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/EndpointAssociation.java 2012-02-03
11:38:52 UTC (rev 15585)
@@ -24,7 +24,7 @@
import org.jboss.wsf.spi.deployment.Endpoint;
/**
- * Associates the endpoint meta data with the current thead.
+ * Associates the endpoint meta data with the current thread.
*
* @author Thomas.Diesler(a)jboss.org
* @since 10-May-2007
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapper.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapper.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapper.java 2012-02-03
11:38:52 UTC (rev 15585)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.spi.invocation;
+
+import java.util.Map;
+
+/**
+ * Wraps AS7 NamespaceContextSelector logic to allow carrying its
+ * contents for invocation served using thread pools.
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 03-Feb-2012
+ *
+ */
+public interface NamespaceContextSelectorWrapper
+{
+ public void storeCurrentThreadSelector(Map<String, Object> map);
+
+ public void setCurrentThreadSelector(Map<String, Object> map);
+
+ public void clearCurrentThreadSelector(Map<String, Object> map);
+}
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapperFactory.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapperFactory.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/NamespaceContextSelectorWrapperFactory.java 2012-02-03
11:38:52 UTC (rev 15585)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.spi.invocation;
+
+
+/**
+ * Factory for org.jboss.wsf.spi.invocation.NamespaceContextSelectorWrapper
+ *
+ * @author alessio.soldano(a)jboss.org
+ * @since 03-Feb-2012
+ *
+ */
+public interface NamespaceContextSelectorWrapperFactory
+{
+ public NamespaceContextSelectorWrapper getWrapper();
+}