mx4j/src/tools/mx4j/tools/remote/soap/web WebContainer.java,1.3,1.4

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/soap/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30174/src/tools/mx4j/tools/remote/soap/web

Modified Files:
	WebContainer.java 
Log Message:
Added deploy() and undeploy()

Index: WebContainer.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/soap/web/WebContainer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** WebContainer.java	16 Sep 2003 10:15:36 -0000	1.3
--- WebContainer.java	18 Jul 2004 21:34:33 -0000	1.4
***************
*** 9,18 ****
  package mx4j.tools.remote.soap.web;
  
  import java.util.Map;
- 
  import javax.management.remote.JMXServiceURL;
  
  /**
   * An Interface for the Web Container so that we can plug in any web container.
   * @author <a href="mailto:[email protected]">Alireza Taherkordi</a>
   * @version $Revision$
--- 9,19 ----
  package mx4j.tools.remote.soap.web;
  
+ import java.io.IOException;
  import java.util.Map;
  import javax.management.remote.JMXServiceURL;
  
  /**
   * An Interface for the Web Container so that we can plug in any web container.
+  *
   * @author <a href="mailto:[email protected]">Alireza Taherkordi</a>
   * @version $Revision$
***************
*** 23,31 ****
      * Starts the web container
      */
!    public void start(JMXServiceURL url, Map environment) throws Exception;
  
     /**
      * Stops the web container
      */
!    public void stop() throws Exception;
  }
--- 24,42 ----
      * Starts the web container
      */
!    public void start(JMXServiceURL url, Map environment) throws IOException;
  
     /**
      * Stops the web container
      */
!    public void stop() throws IOException;
! 
!    /**
!     * Deploys the given servlet class mapping it to the URL specified by the given JMXServiceURL.
!     */
!    public void deploy(String servletClassName, JMXServiceURL url, Map environment) throws IOException;
! 
!    /**
!     * Undeploys the servlet mapped to the URL specified by the given JMXServiceURL.
!     */
!    public void undeploy(String servletClassName, JMXServiceURL url, Map environment);
  }



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.