Author: richard.opalka(a)jboss.com
Date: 2011-06-20 10:02:23 -0400 (Mon, 20 Jun 2011)
New Revision: 14585
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/WebServiceContextFactory.java
Log:
[JBWS-3318] WebServiceContext is invocation type agnostic since now
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/WebServiceContextFactory.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/WebServiceContextFactory.java 2011-06-20
07:45:08 UTC (rev 14584)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/invocation/WebServiceContextFactory.java 2011-06-20
14:02:23 UTC (rev 14585)
@@ -31,5 +31,14 @@
*/
public abstract class WebServiceContextFactory implements SPIView
{
- public abstract ExtensibleWebServiceContext newWebServiceContext(InvocationType type,
MessageContext messageContext);
+ /**
+ * Use {@link #newWebServiceContext(MessageContext) instead}
+ */
+ @Deprecated
+ public ExtensibleWebServiceContext newWebServiceContext(InvocationType type,
MessageContext messageContext)
+ {
+ return newWebServiceContext(messageContext);
+ }
+
+ public abstract ExtensibleWebServiceContext newWebServiceContext(MessageContext
messageContext);
}
Show replies by date