Author: alessio.soldano(a)jboss.com
Date: 2009-04-22 09:44:40 -0400 (Wed, 22 Apr 2009)
New Revision: 9860
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/GeneralServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidPortServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidServiceServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortWildcardServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP11ServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP12ServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceServerHandler.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceWildcardServerHandler.java
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml
Log:
[JBWS-2616] Making testcase portable across stacks
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2009-04-22 07:26:28 UTC
(rev 9859)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2009-04-22 13:44:40 UTC
(rev 9860)
@@ -75,6 +75,7 @@
<classes dir="${tests.output.dir}/test-classes">
<include
name="org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.class"/>
<include
name="org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.class"/>
+ <include
name="org/jboss/test/ws/jaxws/handlerscope/*ServerHandler.class"/>
<include
name="org/jboss/test/ws/jaxws/handlerscope/ProtocolHandler.class"/>
<include
name="org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml"/>
</classes>
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/GeneralServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/GeneralServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/GeneralServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class GeneralServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/GeneralServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java 2009-04-22
07:26:28 UTC (rev 9859)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -56,10 +56,12 @@
if (isIntegrationMetro())
{
System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain
on client SEI");
+ testForStacksNotSupportingAnnotationOnClienSEI(retStr);
}
else if (isIntegrationCXF())
{
System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on
client SEI");
+ testForStacksNotSupportingAnnotationOnClienSEI(retStr);
}
else
{
@@ -96,4 +98,25 @@
assertEquals(expStr.toString(), retStr);
}
}
+
+ private static void testForStacksNotSupportingAnnotationOnClienSEI(String retStr)
+ {
+ StringBuffer expStr = new StringBuffer("hello");
+ expStr.append(":GeneralServerHandler");
+ expStr.append(":PortWildcardServerHandler");
+ expStr.append(":PortServerHandler");
+ expStr.append(":ServiceWildcardServerHandler");
+ expStr.append(":ServiceServerHandler");
+ expStr.append(":SOAPServerHandler");
+ expStr.append(":SOAP12ServerHandler");
+ expStr.append(":endpoint");
+ expStr.append(":SOAP12ServerHandler");
+ expStr.append(":SOAPServerHandler");
+ expStr.append(":ServiceServerHandler");
+ expStr.append(":ServiceWildcardServerHandler");
+ expStr.append(":PortServerHandler");
+ expStr.append(":PortWildcardServerHandler");
+ expStr.append(":GeneralServerHandler");
+ assertEquals(expStr.toString(), retStr);
+ }
}
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidPortServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidPortServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidPortServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class InvalidPortServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidPortServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidServiceServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidServiceServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidServiceServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class InvalidServiceServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/InvalidServiceServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class PortServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortWildcardServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortWildcardServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortWildcardServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class PortWildcardServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/PortWildcardServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP11ServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP11ServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP11ServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class SOAP11ServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP11ServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP12ServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP12ServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP12ServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class SOAP12ServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAP12ServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class SOAPServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/SOAPServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class ServiceServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceWildcardServerHandler.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceWildcardServerHandler.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceWildcardServerHandler.java 2009-04-22
13:44:40 UTC (rev 9860)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.ws.jaxws.handlerscope;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 16-Apr-2009
+ */
+public class ServiceWildcardServerHandler extends ProtocolHandler
+{
+ public String getHandlerName()
+ {
+ String name = super.getHandlerName();
+ return (name != null ? name : this.getClass().getSimpleName());
+ }
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/ServiceWildcardServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml 2009-04-22
07:26:28 UTC (rev 9859)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml 2009-04-22
13:44:40 UTC (rev 9860)
@@ -9,7 +9,7 @@
<protocol-bindings>##SOAP11_HTTP</protocol-bindings>
<handler>
<handler-name> SOAP11ServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAP11ServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -17,7 +17,7 @@
<protocol-bindings>##SOAP12_HTTP</protocol-bindings>
<handler>
<handler-name> SOAP12ServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAP12ServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -25,7 +25,7 @@
<protocol-bindings>##SOAP11_HTTP ##SOAP12_HTTP</protocol-bindings>
<handler>
<handler-name> SOAPServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAPServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -33,7 +33,7 @@
<service-name-pattern>ns1:SOAPEndpointService</service-name-pattern>
<handler>
<handler-name> ServiceServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.ServiceServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -41,7 +41,7 @@
<service-name-pattern>ns1:SOAPEndpointSer*</service-name-pattern>
<handler>
<handler-name> ServiceWildcardServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class>
org.jboss.test.ws.jaxws.handlerscope.ServiceWildcardServerHandler </handler-class>
</handler>
</handler-chain>
@@ -49,7 +49,7 @@
<service-name-pattern>ns1:InvalidService</service-name-pattern>
<handler>
<handler-name> InvalidServiceServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.InvalidServiceServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -57,7 +57,7 @@
<port-name-pattern>ns1:SOAPEndpointPort</port-name-pattern>
<handler>
<handler-name> PortServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.PortServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -65,7 +65,7 @@
<port-name-pattern>ns1:SOAPEndpointPo*</port-name-pattern>
<handler>
<handler-name> PortWildcardServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.PortWildcardServerHandler
</handler-class>
</handler>
</handler-chain>
@@ -73,14 +73,14 @@
<port-name-pattern>ns1:InvalidPort</port-name-pattern>
<handler>
<handler-name> InvalidPortServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.InvalidPortServerHandler
</handler-class>
</handler>
</handler-chain>
<handler-chain>
<handler>
<handler-name> GeneralServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.handlerscope.ProtocolHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.handlerscope.GeneralServerHandler
</handler-class>
</handler>
</handler-chain>