Author: thomas.diesler(a)jboss.com
Date: 2008-04-30 13:43:25 -0400 (Wed, 30 Apr 2008)
New Revision: 6811
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Action.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingBuilder.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingConstants.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingProperties.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributeExtensible.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributedQName.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ElementExtensible.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/EndpointReference.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/FaultAction.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/JAXWSAConstants.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Metadata.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ReferenceParameters.java
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Relationship.java
Log:
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Action.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Action.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Action.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Documented
+(a)Retention(RetentionPolicy.RUNTIME)
+(a)Target(ElementType.METHOD)
+public @interface Action
+{
+
+ String input() default "##default";
+
+ String output() default "##default";
+
+ String[] fault() default "##default";
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Action.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingBuilder.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingBuilder.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingBuilder.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import static javax.xml.ws.addressing.JAXWSAConstants.ADDRESSING_BUILDER_PROPERTY;
+import static javax.xml.ws.addressing.JAXWSAConstants.DEFAULT_ADDRESSING_BUILDER;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.logging.Logger;
+
+import javax.xml.namespace.QName;
+
+public abstract class AddressingBuilder implements AddressingType
+{
+ // provide logging
+ private static Logger log = Logger.getLogger(AddressingBuilder.class.getName());
+
+ protected AddressingBuilder()
+ {
+ }
+
+ public static AddressingBuilder getAddressingBuilder()
+ {
+ ClassLoader classLoader;
+ try
+ {
+ classLoader = Thread.currentThread().getContextClassLoader();
+ }
+ catch (Exception x)
+ {
+ throw new AddressingException(x.toString(), x);
+ }
+
+ String name = null;
+
+ // Use the system property first
+ try
+ {
+ name = System.getProperty(ADDRESSING_BUILDER_PROPERTY);
+ if (name != null)
+ {
+ return newInstance(name, classLoader);
+ }
+ }
+ catch (Exception e)
+ {
+ log.warning("Could not create and instance of " + name + " trying
" + DEFAULT_ADDRESSING_BUILDER);
+ }
+
+ // default builder
+ return newInstance(DEFAULT_ADDRESSING_BUILDER, classLoader);
+ }
+
+ private static AddressingBuilder newInstance(String className, ClassLoader
classLoader)
+ {
+ try
+ {
+ Class cls;
+ if (classLoader == null)
+ {
+ cls = Class.forName(className);
+ }
+ else
+ {
+ cls = classLoader.loadClass(className);
+ }
+ return (AddressingBuilder)cls.newInstance();
+ }
+ catch (ClassNotFoundException x)
+ {
+ throw new AddressingException("Provider " + className + " not
found", x);
+ }
+ catch (Exception x)
+ {
+ throw new AddressingException("Provider " + className + " could
not be instantiated: " + x, x);
+ }
+ }
+
+ public abstract AttributedURI newURI(URI uri);
+
+ public abstract AttributedURI newURI(String uri) throws URISyntaxException;
+
+ public abstract AttributedQName newQName(QName name);
+
+ public abstract Relationship newRelationship(URI uri);
+
+ public abstract EndpointReference newEndpointReference(URI uri);
+
+ public abstract AddressingProperties newAddressingProperties();
+
+ public abstract AddressingConstants newAddressingConstants();
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingBuilder.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingConstants.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingConstants.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingConstants.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+
+public interface AddressingConstants
+{
+ String getNamespaceURI();
+
+ String getNamespacePrefix();
+
+ String getWSDLNamespaceURI();
+
+ String getWSDLNamespacePrefix();
+
+ QName getWSDLExtensibilityQName();
+
+ QName getWSDLActionQName();
+
+ String getAnonymousURI();
+
+ String getNoneURI();
+
+ QName getFromQName();
+
+ QName getToQName();
+
+ QName getReplyToQName();
+
+ QName getFaultToQName();
+
+ QName getActionQName();
+
+ QName getMessageIDQName();
+
+ QName getRelationshipReplyQName();
+
+ QName getRelatesToQName();
+
+ String getRelationshipTypeName();
+
+ // [TODO] Add this method
+ QName getReferenceParametersQName();
+
+ QName getMetadataQName();
+
+ QName getAddressQName();
+
+ String getPackageName();
+
+ String getIsReferenceParameterName();
+
+ QName getInvalidMapQName();
+
+ QName getMapRequiredQName();
+
+ QName getDestinationUnreachableQName();
+
+ QName getActioNotSupportedQName();
+
+ QName getEndpointUnavailableQName();
+
+ String getDefaultFaultAction();
+
+ String getActionNotSupportedText();
+
+ String getDestinationUnreachableText();
+
+ String getEndpointUnavailableText();
+
+ String getInvalidMapText();
+
+ String getMapRequiredText();
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingConstants.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingProperties.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingProperties.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingProperties.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.util.Map;
+
+import javax.xml.namespace.QName;
+
+public interface AddressingProperties extends AddressingType, Map<QName,
AddressingType>
+{
+
+ public AttributedURI getTo();
+
+ public void setTo(AttributedURI iri);
+
+ public AttributedURI getAction();
+
+ public void setAction(AttributedURI iri);
+
+ public AttributedURI getMessageID();
+
+ public void setMessageID(AttributedURI iri);
+
+ public Relationship[] getRelatesTo();
+
+ public void setRelatesTo(Relationship[] relationship);
+
+ public EndpointReference getReplyTo();
+
+ public void setReplyTo(EndpointReference ref);
+
+ public EndpointReference getFaultTo();
+
+ public void setFaultTo(EndpointReference ref);
+
+ public EndpointReference getFrom();
+
+ public void setFrom(EndpointReference ref);
+
+ public ReferenceParameters getReferenceParameters();
+
+ public void initializeAsDestination(EndpointReference ref);
+
+ public void initializeAsReply(AddressingProperties props, boolean isFault);
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AddressingProperties.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributeExtensible.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributeExtensible.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributeExtensible.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.util.Map;
+
+import javax.xml.namespace.QName;
+
+public interface AttributeExtensible extends AddressingType
+{
+ public Map<QName, String> getAttributes();
+
+ public void addAttribute(QName name, String value) throws AddressingException;
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributeExtensible.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributedQName.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributedQName.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributedQName.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+
+public interface AttributedQName extends AddressingType, AttributeExtensible
+{
+
+ public QName getQName();
+
+ public void addAttribute(QName name, String value);
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/AttributedQName.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+
+public class DestinationUnreachableException extends AddressingException
+{
+ private static final long serialVersionUID = 7420697131368408456L;
+
+ static
+ {
+ fMessage = ac.getDestinationUnreachableText();
+ }
+
+ public DestinationUnreachableException()
+ {
+ }
+
+ public DestinationUnreachableException(String problemIRI)
+ {
+ super(fMessage + ": " + problemIRI);
+ }
+
+ public QName getSubcode()
+ {
+ return ac.getDestinationUnreachableQName();
+ }
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ElementExtensible.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ElementExtensible.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ElementExtensible.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.util.List;
+
+public interface ElementExtensible extends AddressingType
+{
+ public List<Object> getElements();
+
+ public void addElement(Object element);
+
+ public boolean removeElement(Object element);
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ElementExtensible.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/EndpointReference.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/EndpointReference.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/EndpointReference.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+public interface EndpointReference extends AddressingType, AttributeExtensible,
ElementExtensible
+{
+ public AttributedURI getAddress();
+
+ public ReferenceParameters getReferenceParameters();
+
+ public Metadata getMetadata();
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/EndpointReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/FaultAction.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/FaultAction.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/FaultAction.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Documented
+(a)Retention(RetentionPolicy.RUNTIME)
+(a)Target(ElementType.METHOD)
+public @interface FaultAction
+{
+
+ Class className();
+
+ String value() default "##default";
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/FaultAction.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/InvalidMapException.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+
+public class InvalidMapException extends AddressingException
+{
+ private static final long serialVersionUID = 1760077070006214469L;
+
+ static
+ {
+ fMessage = ac.getInvalidMapText();
+ }
+
+ protected InvalidMapException()
+ {
+ }
+
+ public InvalidMapException(QName name)
+ {
+ super(fMessage + ": " + name);
+ }
+
+ public QName getSubcode()
+ {
+ return ac.getInvalidMapQName();
+ }
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/JAXWSAConstants.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/JAXWSAConstants.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/JAXWSAConstants.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,80 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+
+public class JAXWSAConstants
+{
+
+ private JAXWSAConstants()
+ {
+ }
+
+ public static final String ADDRESSING_BUILDER_PROPERTY =
"javax.xml.ws.addressing.AddressingBuilder";
+
+ public static final String DEFAULT_ADDRESSING_BUILDER =
"org.jboss.ws.extensions.addressing.soap.SOAPAddressingBuilderImpl";
+
+ public static final String SOAP11_NAMESPACE_NAME =
"http://schemas.xmlsoap.org/soap/envelope/";
+
+ public static final String SOAP12_NAMESPACE_NAME =
"http://www.w3.org/2003/05/soap-envelope";
+
+ public static final QName SOAP11_SENDER_QNAME = new QName(SOAP11_NAMESPACE_NAME,
"Client");
+
+ public static final QName SOAP11_RECEIVER_QNAME = new QName(SOAP11_NAMESPACE_NAME,
"Server");
+
+ public static final QName SOAP12_SENDER_QNAME = new QName(SOAP12_NAMESPACE_NAME,
"Sender");
+
+ public static final QName SOAP12_RECEIVER_QNAME = new QName(SOAP12_NAMESPACE_NAME,
"Receiver");
+
+ public static final String SOAP11HTTP_ADDRESSING_BINDING =
"http://schemas.xmlsoap.org/wsdl/soap/http?addressing=1.0";
+
+ public static final String SOAP12HTTP_ADDRESSING_BINDING =
"http://www.w3.org/2003/05/soap/bindings/HTTP/?addressing=1.0";
+
+ public static final String CLIENT_ADDRESSING_PROPERTIES =
"javax.xml.ws.addressing.context";
+
+ public static final String CLIENT_ADDRESSING_PROPERTIES_INBOUND =
"javax.xml.ws.addressing.context.inbound";
+
+ public static final String CLIENT_ADDRESSING_PROPERTIES_OUTBOUND =
"javax.xml.ws.addressing.context.outbound";
+
+ public static final String SERVER_ADDRESSING_PROPERTIES_INBOUND =
"javax.xml.ws.addressing.context.inbound";
+
+ public static final String SERVER_ADDRESSING_PROPERTIES_OUTBOUND =
"javax.xml.ws.addressing.context.outbound";
+
+ public static SOAPFactory SOAP_FACTORY = null;
+
+ static
+ {
+ try
+ {
+ SOAP_FACTORY = SOAPFactory.newInstance();
+ }
+ catch (SOAPException e)
+ {
+ }
+ }
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/JAXWSAConstants.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/MapRequiredException.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import javax.xml.namespace.QName;
+
+public class MapRequiredException extends AddressingException
+{
+ private static final long serialVersionUID = 7593796661805754938L;
+
+ static
+ {
+ fMessage = ac.getMapRequiredText();
+ }
+
+ public MapRequiredException()
+ {
+ }
+
+ public MapRequiredException(QName name)
+ {
+ super(fMessage + ": " + name);
+ }
+
+ public QName getSubcode()
+ {
+ return ac.getMapRequiredQName();
+ }
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Metadata.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Metadata.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Metadata.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,29 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+public interface Metadata extends AttributeExtensible, ElementExtensible
+{
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Metadata.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ReferenceParameters.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ReferenceParameters.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ReferenceParameters.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,28 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+public interface ReferenceParameters extends AttributeExtensible, ElementExtensible
+{
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/ReferenceParameters.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Relationship.java
===================================================================
---
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Relationship.java
(rev 0)
+++
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Relationship.java 2008-04-30
17:43:25 UTC (rev 6811)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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 javax.xml.ws.addressing;
+
+//$Id$
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+public interface Relationship extends AttributeExtensible
+{
+
+ public URI getID();
+
+ public QName getType();
+
+ public void setType(QName type);
+
+}
Property changes on:
stack/native/branches/tdiesler/trunk/modules/jaxws-impl/src/main/java/javax/xml/ws/addressing/Relationship.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF