Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 05:21:48 -0400 (Wed, 20 Jul 2011)
New Revision: 14715
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
Removed:
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
Log:
[AS7-1322] Adding EndpointPublisher API
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-19
09:05:46 UTC (rev 14702)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-20 09:21:48 UTC
(rev 14715)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-import java.util.List;
-
-import org.jboss.wsf.spi.deployment.Endpoint;
-
-public class Context {
- private final String context;
- private final List<Endpoint> endpoints;
-
- public Context(String context, List<Endpoint> endpoints) {
- this.endpoints = endpoints;
- this.context = context;
- }
-
- public String getContext() {
- return context;
- }
-
- public List<Endpoint> getEndpoints() {
- return endpoints;
- }
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java (from rev 14702,
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/Context.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
(rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-20 09:21:48 UTC
(rev 14715)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+import java.util.List;
+
+import org.jboss.wsf.spi.deployment.Endpoint;
+
+public class Context {
+ private final String context;
+ private final List<Endpoint> endpoints;
+
+ public Context(String context, List<Endpoint> endpoints) {
+ this.endpoints = endpoints;
+ this.context = context;
+ }
+
+ public String getContext() {
+ return context;
+ }
+
+ public List<Endpoint> getEndpoints() {
+ return endpoints;
+ }
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
===================================================================
---
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-19
09:05:46 UTC (rev 14702)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-20
09:21:48 UTC (rev 14715)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-import java.util.Map;
-
-/**
- * EndpointPublisher defines the interface for facilities allowing to publish/destroy
- * WS endpoints on top of the running JBoss Application Server container.
- *
- * @author <a href="mailto:alessio.soldano@jboss.com">Alessio
Soldano</a>
- */
-public interface EndpointPublisher
-{
- public Context publish(String contextRoot, ClassLoader loader, Map<String,
String> urlPatternToClassNameMap) throws Exception;
-
- public void destroy(Context context) throws Exception;
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java (from rev
14702,
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
(rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-20
09:21:48 UTC (rev 14715)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+import java.util.Map;
+
+/**
+ * EndpointPublisher defines the interface for facilities allowing to publish/destroy
+ * WS endpoints on top of the running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio
Soldano</a>
+ */
+public interface EndpointPublisher
+{
+ public Context publish(String contextRoot, ClassLoader loader, Map<String,
String> urlPatternToClassNameMap) throws Exception;
+
+ public void destroy(Context context) throws Exception;
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
===================================================================
---
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-19
09:05:46 UTC (rev 14702)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-20
09:21:48 UTC (rev 14715)
@@ -1,31 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-
-/**
- * Factory for retrieving a EndpointPublisher instance for
- * the currently running JBoss Application Server container.
- *
- * @author <a href="mailto:alessio.soldano@jboss.com">Alessio
Soldano</a>
- */
-public interface EndpointPublisherFactory
-{
- public EndpointPublisher newEndpointPublisher(String hostname) throws Exception;
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
(from rev 14702,
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
(rev 0)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-20
09:21:48 UTC (rev 14715)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+
+/**
+ * Factory for retrieving a EndpointPublisher instance for
+ * the currently running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio
Soldano</a>
+ */
+public interface EndpointPublisherFactory
+{
+ public EndpointPublisher newEndpointPublisher(String hostname) throws Exception;
+}