|
From: Scott S. <sco...@jb...> - 2006-07-10 16:29:11
|
User: starksm
Date: 06/07/10 12:29:09
Modified: src/main/org/jboss/deployers/spi MainDeployer.java
Log:
Add a parse(URL) method.
Revision Changes Path
1.5 +7 -1 system2/src/main/org/jboss/deployers/spi/MainDeployer.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MainDeployer.java
===================================================================
RCS file: /cvsroot/jboss/system2/src/main/org/jboss/deployers/spi/MainDeployer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- MainDeployer.java 6 Jul 2006 03:27:55 -0000 1.4
+++ MainDeployer.java 10 Jul 2006 16:29:09 -0000 1.5
@@ -22,6 +22,7 @@
package org.jboss.deployers.spi;
import java.net.URI;
+import java.net.URL;
import java.util.List;
import org.jboss.vfs.VFSFactory;
@@ -31,7 +32,7 @@
*
* @author <a href="mailto:dim...@jb...">Dimitris Andreadis</a>
* @author Sco...@jb...
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public interface MainDeployer
{
@@ -96,6 +97,11 @@
* @param deployURI - URI for the deployment archive
*/
public Deployment parse(URI deployURI) throws DeploymentException;
+ /**
+ * Translate a deployment archive into a Deployment instance.
+ * @param deployURL - URL for the deployment archive
+ */
+ public Deployment parse(URL deployURL) throws DeploymentException;
/**
* Deploys a component
|