[jbossws-commits] JBossWS SVN: r13666 - in spi/trunk: src/main/java/org/jboss/wsf/spi and 1 other directories.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Fri Feb 4 04:53:42 EST 2011
Author: richard.opalka at jboss.com
Date: 2011-02-04 04:53:42 -0500 (Fri, 04 Feb 2011)
New Revision: 13666
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/
spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java
Modified:
spi/trunk/pom.xml
Log:
[JBWS-3207] introducing remote Deployer SPI interface
Modified: spi/trunk/pom.xml
===================================================================
--- spi/trunk/pom.xml 2011-02-04 09:37:33 UTC (rev 13665)
+++ spi/trunk/pom.xml 2011-02-04 09:53:42 UTC (rev 13666)
@@ -13,7 +13,7 @@
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
- <version>1.0.9.GA</version>
+ <version>1.0.10-SNAPSHOT</version>
</parent>
<!-- Source Control Management -->
Added: spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java (rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/deployer/Deployer.java 2011-02-04 09:53:42 UTC (rev 13666)
@@ -0,0 +1,44 @@
+/*
+ * 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.deployer;
+
+import java.net.URL;
+
+import org.jboss.wsf.spi.SPIView;
+
+/**
+ * Abstraction to provide AS agnostic remote deployer.
+ *
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ */
+public interface Deployer extends SPIView
+{
+ /**
+ * Deploys specified archive remotely.
+ * @param archive to deploy
+ * @throws Exception if some problem occurs
+ */
+ void deploy(URL archive) throws Exception;
+ /**
+ * Undeploys specified archive remotely.
+ * @param archive to undeploy
+ * @throws Exception if some problem occurs
+ */
+ void undeploy(URL archive) throws Exception;
+}
More information about the jbossws-commits
mailing list