From jbossws-commits at lists.jboss.org Thu Dec 2 05:28:47 2010
Content-Type: multipart/mixed; boundary="===============6806899642243787431=="
MIME-Version: 1.0
From: jbossws-commits at lists.jboss.org
To: jbossws-commits at lists.jboss.org
Subject: [jbossws-commits] JBossWS SVN: r13373 - in
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata: jms
and 1 other directories.
Date: Thu, 02 Dec 2010 05:28:47 -0500
Message-ID: <201012021028.oB2ASlEl025543@svn01.web.mwc.hst.phx2.redhat.com>
--===============6806899642243787431==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: alessio.soldano(a)jboss.com
Date: 2010-12-02 05:28:46 -0500 (Thu, 02 Dec 2010)
New Revision: 13373
Added:
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
DescriptorParser.java
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
jms/JMSDescriptorParser.java
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
webservices/WebservicesDescriptorParser.java
Modified:
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
DescriptorProcessor.java
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
jms/JMSDescriptorProcessor.java
spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata/=
webservices/WebservicesDescriptorProcessor.java
Log:
[JBWS-3169] Deprecating DescriptorProcessor interfaces (as they directly re=
ference XB) in jbossws-spi 1.4.1; adding new DescriptorParser interfaces
Added: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metad=
ata/DescriptorParser.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/DescriptorParser.java (rev 0)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/DescriptorParser.java 2010-12-02 10:28:46 UTC (rev 13373)
@@ -0,0 +1,48 @@
+/*
+ * 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;
+
+/**
+ * =
+ *
+ * @author Richard Opalka
+ * @author alessio.soldano(a)jboss.com
+ */
+public interface DescriptorParser
+{
+ /**
+ * Descriptor name to parse and process.
+ * @return descriptor name to consume.
+ */
+ String getDescriptorName();
+ =
+ /**
+ * Parses the descriptor at the provided URL and returns
+ * the corresponding object (metadata)
+ * =
+ * @param url
+ * @return
+ */
+ T parse(final URL url);
+}
Modified: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/me=
tadata/DescriptorProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/DescriptorProcessor.java 2010-12-01 16:54:17 UTC (rev 13372)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/DescriptorProcessor.java 2010-12-02 10:28:46 UTC (rev 13373)
@@ -27,9 +27,11 @@
=
/**
* Descriptor processor is abstraction over configuration procesing.
+ * @deprecated This will be replaced by {@link org.jboss.wsf.spi.metadata.=
DescriptorParser} interface. =
*
* @author Richard Opalka
*/
+(a)Deprecated
public interface DescriptorProcessor
{
/**
Added: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metad=
ata/jms/JMSDescriptorParser.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/jms/JMSDescriptorParser.java (rev 0)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/jms/JMSDescriptorParser.java 2010-12-02 10:28:46 UTC (rev 13373)
@@ -0,0 +1,34 @@
+/*
+ * 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.DescriptorParser;
+
+/**
+ * Parser for JMS UMDM.
+ * =
+ * @author Richard Opalka
+ * @author Alessio Soldano<=
/a>
+ */
+public interface JMSDescriptorParser extends DescriptorParser
+{
+}
Modified: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/me=
tadata/jms/JMSDescriptorProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/jms/JMSDescriptorProcessor.java 2010-12-01 16:54:17 UTC (rev 13372)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/jms/JMSDescriptorProcessor.java 2010-12-02 10:28:46 UTC (rev 13373)
@@ -25,9 +25,11 @@
=
/**
* Processor for JMS UMDM.
+ * @deprecated To be replaced by {@link org.jboss.wsf.spi.metadata.jms.JMS=
DescriptorParser}
* =
* @author Richard Opalka
*/
+(a)Deprecated
public interface JMSDescriptorProcessor extends DescriptorProcessor
{
}
Added: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metad=
ata/webservices/WebservicesDescriptorParser.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/webservices/WebservicesDescriptorParser.java (rev =
0)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/webservices/WebservicesDescriptorParser.java 2010-12-02 10:28:46 UTC (rev =
13373)
@@ -0,0 +1,34 @@
+/*
+ * 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.DescriptorParser;
+
+/**
+ * Parser for WS UMDM.
+ * =
+ * @author Richard Opalka
+ * @author Alessio Soldano<=
/a>
+ */
+public interface WebservicesDescriptorParser extends DescriptorParser
+{
+}
Modified: spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/me=
tadata/webservices/WebservicesDescriptorProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/webservices/WebservicesDescriptorProcessor.java 2010-12-01 16:54:17 UTC (r=
ev 13372)
+++ spi/branches/jbossws-spi-1.4.1/src/main/java/org/jboss/wsf/spi/metadata=
/webservices/WebservicesDescriptorProcessor.java 2010-12-02 10:28:46 UTC (r=
ev 13373)
@@ -27,7 +27,9 @@
* Processor for WS UMDM.
* =
* @author Richard Opalka
+ * @deprecated To be replaced by {@link org.jboss.wsf.spi.metadata.webserv=
ices.DescriptorParser}
*/
+(a)Deprecated
public interface WebservicesDescriptorProcessor extends DescriptorProcesso=
r
{
}
--===============6806899642243787431==--