Author: jim.ma
Date: 2010-04-26 23:03:27 -0400 (Mon, 26 Apr 2010)
New Revision: 12117
Added:
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/AbstractEndpointsDeployment.java
Modified:
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/EndpointsMetaData.java
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/jms/JMSAddressMetaData.java
Log:
[JBWS-2791]:Added AbstractEndpointsDeploymen and updated the namespace
Added:
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/AbstractEndpointsDeployment.java
===================================================================
---
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/AbstractEndpointsDeployment.java
(rev 0)
+++
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/AbstractEndpointsDeployment.java 2010-04-27
03:03:27 UTC (rev 12117)
@@ -0,0 +1,77 @@
+/*
+ * 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.endpoints;
+
+import java.net.URL;
+
+import org.jboss.logging.Logger;
+import org.jboss.wsf.spi.deployment.Deployment;
+
+/**
+ * The pojo bean to deploy the stack specific endpoints descriptor url
+ *
+ * @author <a href="ema(a)redhat.com">Jim Ma</a>
+ */
+public abstract class AbstractEndpointsDeployment
+{
+ protected final Logger log = Logger.getLogger(getClass());
+
+ protected URL url;
+
+ protected EndpointsMetaData endpointsMetaData;
+
+ protected Deployment deployment;
+
+ public Deployment getDeployment()
+ {
+ return deployment;
+ }
+
+ public void setDeployment(Deployment deployment)
+ {
+ this.deployment = deployment;
+ }
+
+ public EndpointsMetaData getEndpointsMetaData()
+ {
+ return endpointsMetaData;
+ }
+
+ public void setEndpointsMetaData(EndpointsMetaData endpointsMetaData)
+ {
+ this.endpointsMetaData = endpointsMetaData;
+ }
+
+ public void setURL(URL url)
+ {
+ this.url = url;
+ }
+
+ public URL getURL()
+ {
+ return this.url;
+ }
+
+ public abstract void start() throws Exception;
+
+ public abstract void stop() throws Exception;
+}
Modified:
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/EndpointsMetaData.java
===================================================================
---
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/EndpointsMetaData.java 2010-04-27
02:59:28 UTC (rev 12116)
+++
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/EndpointsMetaData.java 2010-04-27
03:03:27 UTC (rev 12117)
@@ -31,7 +31,7 @@
* <pre>
* <jaxws:endpoints
xmlns:jaxws="http://jbossws.jboss.org/jaxws"
*
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- *
xmlns:jms="http://jbossws.jboss.org/jaxws/transport/jms"
+ *
xmlns:jms="http://jbossws.jboss.org/jbossws/transport/jms"
*
xsi:schemaLocation="http://jbossws.jboss.org/jaxws jaxws.xsd
http://jbossws.jboss.org/jaxws/transport/jms jms.xsd">
* <jaxws:endpoint implementor="" name=""
portName=""
* serviceName="" wsdlLocation="">
Modified:
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/jms/JMSAddressMetaData.java
===================================================================
---
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/jms/JMSAddressMetaData.java 2010-04-27
02:59:28 UTC (rev 12116)
+++
spi/branches/jms-integration/src/main/java/org/jboss/wsf/spi/metadata/endpoints/jms/JMSAddressMetaData.java 2010-04-27
03:03:27 UTC (rev 12117)
@@ -31,7 +31,7 @@
*/
public class JMSAddressMetaData extends AddressMetaData
{
- public static final String NAMESPACE_URI =
"http://jbossws.jboss.org/jaxws/transport/jms";
+ public static final String NAMESPACE_URI =
"http://jbossws.jboss.org/jbossws/transport/jms";
public static final String ADDRESS_LOCAL_NAME = "Address";