Author: richard.opalka(a)jboss.com
Date: 2010-07-09 03:52:03 -0400 (Fri, 09 Jul 2010)
New Revision: 12609
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/HttpEndpoint.java
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/JMSEndpoint.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java
Removed:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesFactory.java
Log:
[JBWS-3086] merging CXF protype upstream - ensuring SPI BC
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java 2010-07-08
18:12:27 UTC (rev 12608)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -32,7 +32,7 @@
{
public enum DeploymentType
{
- JAXRPC_JSE, JAXRPC_EJB21, JAXWS_JSE, JAXWS_EJB3,
+ JAXRPC_JSE, JAXRPC_EJB21, JAXWS_JSE, JAXWS_EJB3, JAXWS_JMS;
};
public enum DeploymentState
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java 2010-07-08
18:12:27 UTC (rev 12608)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/DeploymentModelFactory.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -33,5 +33,14 @@
public abstract Service newService();
+ @Deprecated
+ /**
+ * Use #newHttpEndpoint(String) instead
+ */
public abstract Endpoint newEndpoint(String targetBean);
+
+ public abstract Endpoint newHttpEndpoint(String targetBean);
+
+ public abstract Endpoint newJMSEndpoint(String targetBean);
+
}
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2010-07-08 18:12:27
UTC (rev 12608)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/Endpoint.java 2010-07-09 07:52:03
UTC (rev 12609)
@@ -52,6 +52,13 @@
UNDEFINED, STARTED, STOPPED
};
+ /** Get the URL pattern for this endpoint */
+ @Deprecated// TODO: moved to HttpEndpoint - explicit cast required
+ String getURLPattern();
+ /** Set the URL pattern for this endpoint */
+ @Deprecated// TODO: moved to HttpEndpoint - explicit cast required
+ void setURLPattern(String urlPattern);
+
/** Get the service this endpoint belongs to */
Service getService();
@@ -84,19 +91,7 @@
/** Use the deployment classloader to load the bean */
Class getTargetBeanClass();
-
- /** Get the URL pattern for this endpoint */
- String getURLPattern();
-
- /** Set the URL pattern for this endpoint */
- void setURLPattern(String urlPattern);
-
- /** Get endpoint address */
- String getAddress();
-
- /** Set endpoint address */
- void setAddress(String address);
-
+
/** Set the request handler for this endpoint */
void setRequestHandler(RequestHandler handler);
@@ -132,4 +127,10 @@
/** Returns associated JNDI context with this endpoint. */
Context getJNDIContext();
+
+ /** Get endpoint address */
+ String getAddress();
+
+ /** Set endpoint address */
+ void setAddress(String address);
}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/HttpEndpoint.java (from rev
12280,
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/deployment/HttpEndpoint.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/HttpEndpoint.java
(rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/HttpEndpoint.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.deployment;
+
+/**
+ * To represents a http transport endpoint
+ *
+ * @author <a href="ema(a)redhat.com">Jim Ma</a>
+ */
+public interface HttpEndpoint extends Endpoint
+{
+ /** Get the URL pattern for this endpoint */
+ String getURLPattern();
+
+ /** Set the URL pattern for this endpoint */
+ void setURLPattern(String urlPattern);
+}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/JMSEndpoint.java (from rev
12280,
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/deployment/JMSEndpoint.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/JMSEndpoint.java
(rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployment/JMSEndpoint.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.deployment;
+
+import java.net.URI;
+
+/**
+ * To represent the jms transport endpoint
+ *
+ * @author <a href="ema(a)redhat.com">Jim Ma</a>
+ */
+public interface JMSEndpoint extends Endpoint
+{
+ //Set jms target destination
+ void setTargetDestination(String dest);
+
+ //Get jms target destination
+ String getTargetDestination();
+
+ //Set jms reply destination
+ void setReplyDestination(String replyTo);
+
+ //Get jms reply destination
+ String getReplyDestination();
+
+ //Set soap over jms requestURI
+ void setRequestURI(URI uri);
+
+ //Get soap over jms requestURI
+ URI getRequestURI();
+}
Added: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java
(rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata;
+
+import java.net.URL;
+
+import org.jboss.xb.binding.ObjectModelFactory;
+
+/**
+ * Descriptor processor is abstraction over configuration procesing.
+ *
+ * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
+ */
+public interface DescriptorProcessor<T>
+{
+ /**
+ * Indicates whether validation is turned on or off.
+ * @return true if validation is on, false otherwise
+ */
+ boolean isValidating();
+ /**
+ * Descriptor name to parse and process.
+ * @return descriptor name to consume.
+ */
+ String getDescriptorName();
+ /**
+ * OM factory building object tree from the configuration file.
+ * @return OM factory
+ */
+ ObjectModelFactory getFactory(final URL url);
+}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms (from rev 12280,
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/jms)
Added: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata.jms;
+
+import org.jboss.wsf.spi.metadata.DescriptorProcessor;
+
+/**
+ * Processor for JMS UMDM.
+ *
+ * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
+ */
+public interface JMSDescriptorProcessor extends
DescriptorProcessor<JMSEndpointsMetaData>
+{
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java
===================================================================
---
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java 2010-05-20
02:50:57 UTC (rev 12280)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -1,96 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.metadata.jms;
-
-/**
- * JMS Meta data class contains the implementor and address information
- * @author <a href="ema(a)redhat.com">Jim Ma</a>
- */
-public class JMSEndpointMetaData
-{
- //Endpoint name
- private String name;
-
- //port name
- private String endpointName = "";
-
- //implementor class
- private String implementor = "";
-
- //wsdl location
- private String wsdlLocation = "";
-
-
- //parent component
- private JMSEndpointsMetaData endpointsMetaData = null;
-
- public JMSEndpointMetaData(JMSEndpointsMetaData endpoints)
- {
- endpointsMetaData = endpoints;
- }
-
- public JMSEndpointsMetaData getParentMetaData()
- {
- return endpointsMetaData;
- }
-
- public String getImplementor()
- {
- return implementor;
- }
-
- public String getName()
- {
- return name;
- }
-
- public String getEndpointName()
- {
- return endpointName;
- }
-
- public String getWsdlLocation()
- {
- return wsdlLocation;
- }
-
- public void setImplementor(String implementor)
- {
- this.implementor = implementor;
- }
-
- public void setName(String name)
- {
- this.name = name;
- }
-
- public void setEndpointName(String endpointName)
- {
- this.endpointName = endpointName;
- }
-
- public void setWsdlLocation(String wsdlLocation)
- {
- this.wsdlLocation = wsdlLocation;
- }
-
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java
(from rev 12280,
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointMetaData.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata.jms;
+
+/**
+ * JMS Meta data class contains the implementor and address information
+ * @author <a href="ema(a)redhat.com">Jim Ma</a>
+ */
+public class JMSEndpointMetaData
+{
+ //Endpoint name
+ private String name;
+
+ //port name
+ private String endpointName = "";
+
+ //implementor class
+ private String implementor = "";
+
+ //wsdl location
+ private String wsdlLocation = "";
+
+
+ //parent component
+ private JMSEndpointsMetaData endpointsMetaData = null;
+
+ public JMSEndpointMetaData(JMSEndpointsMetaData endpoints)
+ {
+ endpointsMetaData = endpoints;
+ }
+
+ public JMSEndpointsMetaData getParentMetaData()
+ {
+ return endpointsMetaData;
+ }
+
+ public String getImplementor()
+ {
+ return implementor;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public String getEndpointName()
+ {
+ return endpointName;
+ }
+
+ public String getWsdlLocation()
+ {
+ return wsdlLocation;
+ }
+
+ public void setImplementor(String implementor)
+ {
+ this.implementor = implementor;
+ }
+
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public void setEndpointName(String endpointName)
+ {
+ this.endpointName = endpointName;
+ }
+
+ public void setWsdlLocation(String wsdlLocation)
+ {
+ this.wsdlLocation = wsdlLocation;
+ }
+
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java
===================================================================
---
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java 2010-05-20
02:50:57 UTC (rev 12280)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -1,62 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.metadata.jms;
-
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p>Meta data class from jbossws-cxf.xml</p>
- * @author <a href="ema(a)redhat.com">Jim Ma</a>
- */
-
-public class JMSEndpointsMetaData
-{
- //The endpoints list
- private List<JMSEndpointMetaData> endpointsMetaData = new
ArrayList<JMSEndpointMetaData>();
-
- private URL descriptorURL;
-
- public JMSEndpointsMetaData()
- {
- }
-
- public JMSEndpointsMetaData(URL descriptorURL)
- {
- this.descriptorURL = descriptorURL;
- }
-
- public URL getDescriptorURL()
- {
- return descriptorURL;
- }
-
- public void addEndpointMetaData(JMSEndpointMetaData endpointMetaData)
- {
- endpointsMetaData.add(endpointMetaData);
- }
-
- public List<JMSEndpointMetaData> getEndpointsMetaData() {
- return this.endpointsMetaData;
- }
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java
(from rev 12280,
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSEndpointsMetaData.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata.jms;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p>Meta data class from jbossws-cxf.xml</p>
+ * @author <a href="ema(a)redhat.com">Jim Ma</a>
+ */
+
+public class JMSEndpointsMetaData
+{
+ //The endpoints list
+ private List<JMSEndpointMetaData> endpointsMetaData = new
ArrayList<JMSEndpointMetaData>();
+
+ private URL descriptorURL;
+
+ public JMSEndpointsMetaData()
+ {
+ }
+
+ public JMSEndpointsMetaData(URL descriptorURL)
+ {
+ this.descriptorURL = descriptorURL;
+ }
+
+ public URL getDescriptorURL()
+ {
+ return descriptorURL;
+ }
+
+ public void addEndpointMetaData(JMSEndpointMetaData endpointMetaData)
+ {
+ endpointsMetaData.add(endpointMetaData);
+ }
+
+ public List<JMSEndpointMetaData> getEndpointsMetaData() {
+ return this.endpointsMetaData;
+ }
+}
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata.webservices;
+
+import org.jboss.wsf.spi.metadata.DescriptorProcessor;
+
+/**
+ * Processor for WS UMDM.
+ *
+ * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
+ */
+public interface WebservicesDescriptorProcessor extends
DescriptorProcessor<WebservicesMetaData>
+{
+}
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesFactory.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesFactory.java 2010-07-08
18:12:27 UTC (rev 12608)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesFactory.java 2010-07-09
07:52:03 UTC (rev 12609)
@@ -45,6 +45,7 @@
* @author Thomas.Diesler(a)jboss.org
* @since 16-Apr-2004
*/
+// TODO: move to jbossws-framework or jbossws-common
public class WebservicesFactory implements ObjectModelFactory
{
// provide logging